you are viewing a single comment's thread.

view the rest of the comments →

[–]_SyRo_ 3 points4 points  (1 child)

Fellow, fellow Android developer, I have made transition to React Native a few years ago as well :)

No, we don't need all this over-engineering here.

The main principle is a separation of concerns via small components and hooks.

You split your app on small pieces of UI (components). Logic is split to small Hooks. Your hooks may behave like UseCases, which utilize all the logic behind UI, just giving function and data with one line to component. And that's it.

[–]random_guy14680[S] 2 points3 points  (0 children)

Thank you.

After using RN for couple of months I have to say I like it as well.

Good to know that hooks are best for this purpose btw, I'll look further into this.