Skip to content

Best practices react native

Useful links:

Redux in 4 ways

Keyboard tips

recommended packages


Improve performance

  • Avoid anonymous functions in the render methods of a flatlist, sectionlist, …
  • Use ShouldComponentUpdate or PureComponent to avoid unnecessary rerendering (attention, when the navigation is added in mapStateToProps, it might cause rerendering as well)
  • Install a package that removes console log in production builds fe babel-plugin-transform-remove-console
  • Use a key extractor in a list
Published inReact native

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *