Open JaggerJo opened 5 months ago
Current situation: If the render function of a component closes over/captures
state that state is stale. This is the case because we never change the render function - even tho it's instantiated.
This change makes it possible to access outer state and re-render when captured state changes.
This is still a prototype.
Current situation: If the render function of a component closes over/captures
state that state is stale. This is the case because we never change the render function - even tho it's instantiated.
This change makes it possible to access outer state and re-render when captured state changes.
This is still a prototype.