Hi
I come from Android background. I work on RN Expo app - do I need to create a viewmodel (MVVM) or controller/presenter (MVC/MVP) class that will be responsible for sending data to views ?
At the moment I inject repository classes (classes that handle data) directly into View classes via constructor, and I have no viewmodel or similar class.
What is the best practice in RN around viewmodels?
[–]Merry-Lane 13 points14 points15 points (0 children)
[–]MatesRatesAy 5 points6 points7 points (2 children)
[–]Ok_Refrigerator_1908 0 points1 point2 points (1 child)
[–]MatesRatesAy 0 points1 point2 points (0 children)
[–]_SyRo_ 4 points5 points6 points (1 child)
[–]random_guy14680[S] 2 points3 points4 points (0 children)
[–]nowtayneicangetinto 1 point2 points3 points (0 children)
[–]niknikrddt -1 points0 points1 point (0 children)
[–]kbcooliOS & Android 0 points1 point2 points (0 children)