Thursday, December 28, 2017

Some Things I have Learned from 'React Native with MobX — Getting Started'

React Native with MobX — Getting Started
https://medium.com/react-native-training/react-native-with-mobx-getting-started-ba7e18d8ff44

First off this is an awesome tutorial.  I signed up for an account hoping the rest of the site is as good.

What I have learned from this site

  • npm
    • use the '--save' options if you are using a npm version before 5.0
  • MobX is using ES7 decorators
    • must install the babel plugin transform decorators legacy with '--save-dev'
    • also must update or create the '.babelrc' file to include the plugin
  • Looks like they have some nice training material
    • eclectic
  • This example passes in the store instead of injecting it.
    • Why is injecting to be preferred?
 

No comments:

Post a Comment