nank1ro / solidart

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

Will autoDispose be supported in the future? #71

Closed Onekki closed 11 months ago

nank1ro commented 11 months ago

You mean in the signals, effects and resources? Right now it is already supported if you use the Solid widget and place the signal inside a provider.

Onekki commented 11 months ago

screenshot20231121 Signals requires manual dispose.

nank1ro commented 11 months ago

I need to check if this is feasible. Will update you.

nank1ro commented 11 months ago

Yes this could be achieved. Will try to implement automatic disposal as a feature for the v2 release

nank1ro commented 11 months ago

implemented in the v1.3.0 of solidart, see the docs here