nank1ro / solidart

Signals in Dart and Flutter, inspired by SolidJS
https://docs.page/nank1ro/solidart
MIT License
155 stars 5 forks source link

[chore] solid value improvements #3

Closed nank1ro closed 1 year ago

nank1ro commented 1 year ago

Improved Solid.value, now instead of getting a Map of signals, it just takes their ids and a BuildContext. You no longer need to retrieve the signal and pass it to Solid.value because the operation is already performed automatically under the hood. Just provide a BuildContext that has access to Solid and a list of signal ids that you want to provide to your modal and you're ready to go.