Closed
Description
As described in reduxjs/redux#1437 (comment), we can try introducing a separate code path for the fast case where neither state props nor dispatch props depend on the own props. In this case the problem from #99 seems irrelevant and we can do the fast check before calling setState()
.
I am not convinced that this is the best solution however. It basically forces computations to happen in the handleChange()
hook which React has no control over. If in the future React learns to prioritize updates, it will not be able to schedule this work for later, but if we keep things as they are today, it will be able to do this just by postponing render()
.
Metadata
Metadata
Assignees
Labels
No labels