It's All Writing.

Writing makes you happy.


How to change from a class component which using MobX to a function component in React Native

Premise If you don't need to maintain state, it's prefer to use function component than class component. But, If you've already implemented class component, you also need to know how to change it. I also implemented a class component using…

How to share styles at React Native

Environment React Native mobx react-native-extended-stylesheet Code react-native-extended-stylesheet provides which compile variables to reuse any style in EStyleSheet.create. (e.g. $dark087) And by using …