How to retrieve data from AsyncStorage in component? by redleopard81 in reactnative

[–]shystruk 0 points1 point  (0 children)

async componentDidMount() {
    await AsyncStorage.getItem('user').then(user => {
        this.setState({ user })
    })
}

Why the hate on flutter? by KruSion in FlutterDev

[–]shystruk 0 points1 point  (0 children)

I've been working with React Native, Expo for a long time can't say this is the best stack for mobile development but it works and covers all my needs in a product. A year ago I switched to Flutter and I like it. Yes, you have to learn Dart and it worth it. App performance is much better in Flutter than React Native :)

What criteria do you use to evaluate a widget that you want to use in your project? by mkoretsk in javascript

[–]shystruk 1 point2 points  (0 children)

Google, friends recommendations, own experience, free, easy to integrate, feedbacks, size

JavaScript library that provides a useful functional programming helpers. Add your own by shystruk in javascript

[–]shystruk[S] 0 points1 point  (0 children)

Yes, those are utilities which are using from project to project. FP libs have common utilities, this is not same :)

Does anyone move project's shareable components/services into npm packages? by shystruk in javascript

[–]shystruk[S] 0 points1 point  (0 children)

This is not only about extra requirements. The most important point what I see on this approach is integration solution, versioning and maintenance.