News for hackers. Stuff that matters.
Re:Ask HN: What is your favorite front end state management ... by mikojan on Monday December 26, 2022 @02:56PM (#34141163)
This is your brain on Redux.

Context does not trigger the re-rendering of all children. Updating state does. And you prevent that propagating effect by wrapping direct descendants in React.memo().

Re:Ask HN: What is your favorite front end state management ... by yawnr on Tuesday December 27, 2022 @04:53PM (#34154360)
Guess what, this entire thread is literally people discussing using context for… app state. But yeah thanks for being patronizing