News for hackers. Stuff that matters.
Re:When does React re-render? Explaining rerenders and how t... by deckard1 on Wednesday April 29, 2020 @11:19AM (#23020270)
> A lot of reacts's quirks are a result of JS's poor notion of equality.

God, yes. And I'm amazed everyday to run into senior engineers that do not understand how equality works in JS.

People are also easily confused if they happen to use Redux, because Redux also adds a layer of memoization for you and will not re-render if none of the state (props) or dispatch functions change.

There are no comments on this comment yet.