Skip to content

Native projects

Dmitry Usik edited this page Apr 3, 2022 · 4 revisions

Recommendations

If you are going to use bare react-native then your project will contain native ios and android projects. Basically, the native projects will be used for different configurations. But despite the fact that they won't contain a lot of the code, it does make sense to keep them clean and tidy.

Try to follow the next recommendations:

  • Always add native code with Xcode and Android Studio. It'll show you some warnings and errors;
  • Try not to keep unused or commented code;
  • Format the code in order to keep the code standards;
  • Try to follow the best practices for the native platforms while are working with the native projects.
Clone this wiki locally