for example some people do data fetching in useEffect. effects don’t execute when the component is called, they’re just stored for later. if you allow yourself enough of a conceptual leap, it’s like the IO monad.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://bsky.brid.gy/convert/ap/at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3m2x2zsqm7s2l on your instance and quote it. (Note that quoting is not supported in Mastodon.)