Re:Making Sense of React Server Components
by tuukkah on Wednesday September 06, 2023 @04:52PM
(#37411149)
Effects are not required to be idempotent, so it's not just an optimisation. React documentation has an example where the effect establishes a network connection. Even if there's time to connect between renders, the remote system doesn't necessarily handle such short-lived connections.
[ Parent
| on HN ]
There are no comments on this comment yet.