Re:Making Sense of React Server Components
by danielvaughn on Wednesday September 06, 2023 @04:20PM
(#37410727)
To be fair I wasn't very clear, but what I meant was like this:
This trivial example is easy to read, but as more state and effects get added to a component, it quickly becomes fairly cumbersome to figure out the exact order in which your code runs.
[ Parent
| on HN ]
Re:Making Sense of React Server Components
by c-hendricks on Thursday September 07, 2023 @08:43AM
(#37418087)
They're side effects, by the very nature of them, if you're putting them in your code you shouldn't care which order they run.