News for hackers. Stuff that matters.
Re:React is a fractal of bad design by c-hendricks on Wednesday March 08, 2023 @03:36PM (#35074397)
This pattern (event -> state change -> effect run) is finally advised against in the new React docs: https://beta.reactjs.org/learn/you-might-not-need-an-effect

See "You don’t need Effects to handle user events".

There are no comments on this comment yet.