Better HN
topnewbestaskshowjobs
Log inSign up

intrnl

3 karma · joined Mar 1, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

i'm finding a hard time articulating what you said, if React is against side effects then useEffect wouldn't have existed and we wouldn't have data fetching.

React is unique in that everything in the component is within the render path, while the rest of the frameworks (that you've mentioned) doesn't.

you might be mistaking "side effects during render is bad" for "side effects is bad", the two statements are not the same.