I thought it might be worth putting this on the radar early on. One downside to leaving react state hooks is that you lose out on potential optimizations the React team is trying to do in the browser. As it stands i don't understand the breadth of what that implies but most of it seems to be bundled into reacts concurrent mode https://reactjs.org/docs/concurrent-mode-intro.html.
Which is a relatively new thing i haven't studied much. I'll try to find the time to do so and see if I can't take a guess at what It would mean to try to mimic or tap into the same patterns. Lilac talks about it in relation to reagent here https://lilac.town/writing/hooks-and-atoms/
This isn't an issue per say, just a potential trade off or goal to be aware of.
I thought it might be worth putting this on the radar early on. One downside to leaving react state hooks is that you lose out on potential optimizations the React team is trying to do in the browser. As it stands i don't understand the breadth of what that implies but most of it seems to be bundled into reacts concurrent mode https://reactjs.org/docs/concurrent-mode-intro.html.
Which is a relatively new thing i haven't studied much. I'll try to find the time to do so and see if I can't take a guess at what It would mean to try to mimic or tap into the same patterns. Lilac talks about it in relation to reagent here https://lilac.town/writing/hooks-and-atoms/
This isn't an issue per say, just a potential trade off or goal to be aware of.