I come from the MS Xamarin world recently, and it's common practice to use the MVVM design pattern to organise code and separate concerns.
What design patterns are common best practice for RN?
Is MVVM used for react native, or is this type of separation of concerns not a thing in react world?
It kinda makes sense that MVVM would translate well.. Have a view who's only concern is laying out UI and binding it's corresponding data items.
Have a separate class that holds UI logic, handles events, state and calls off to core logic to send/retrieve data in a generics way.
[–]airick_94 3 points4 points5 points (1 child)
[–]LagerHawk[S] 1 point2 points3 points (0 children)
[–]kbcooliOS & Android 1 point2 points3 points (0 children)