lightning-js / blits

The Lightning 3 App Development Framework
https://blits-demo.lightningjs.io/
Apache License 2.0
64 stars 12 forks source link

Add reactivity to inline text #45

Open michielvandergeest opened 8 months ago

michielvandergeest commented 8 months ago

When passing text content via the :content attribute of the <Text>-component it's fully reactive (i.e. changes triggers a render upon change).

Inline text content (i.e. <Text>Inline text</Text>) works for dynamic text, but doesn't reactively re-render upon changes (<Text>Hello $name</Text>)