Hi Folks by this article i will make an recommendation about the best way to modularize iOS react native app’s that i ever know
Why modularization ?
When i work on mono repos, most of times code is very coupled and not shareable with other teams or apps. Otherwise when we have a great strategy of modularization, apps became uncoupled, fasters, code is more cleaner, we get less code conflict and easy to maintain.
Steps to create a React Native App modular
- Create a Core App (I Prefer do in Native Code).
- Create as much you needs React Native Modules.
- Use this to open modules from Core app.
- Keep updating the core modules by some dependency injection
The final Result ?
I’m working in something very similar at work that i’m. If anyone want to check more in details this Github project could be achieved here.
I need write more about it, this is a very short story that i had to share because its a subject that i personal love. But if you need more information or i got a new learning with you, i would be happy to stretch this.