News for hackers. Stuff that matters.
Re:React 19 Beta by Alifatisk on Saturday April 27, 2024 @10:46AM (#40180348)
May I suggest a weird approach? Do this if you have the time but I had the same experience as yours regarding the mental model of React and that the ui is a function of your data.

I suggest you to visit Flutters docs and find the section about its architecture, it resembles React a lot!

There a components (Flutters calls it Widget) and each component has its own hooks and states (in Flutter you have setState), it actually helped me grasp the mental model weirdly enough.

There are no comments on this comment yet.