Open
Description
Currently each component re-renders itself when its state changes. This works, but it's less than ideal.
Consider a component A which renders a component B. If both update their state in the same runloop, component B will be rendered twice: once by itself because of its state update, and once when component A re-renders itself.
We should start each re-render from the topmost dirty component.
(I don't think there are any correctness problems here, but it's certainly less performant.)
Metadata
Metadata
Assignees
Labels
No labels