fsprojects / Avalonia.FuncUI

Develop cross-plattform GUI Applications using F# and Avalonia!
https://funcui.avaloniaui.net/
MIT License
955 stars 74 forks source link

Patch Component render function #416

Open JaggerJo opened 5 months ago

JaggerJo commented 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.