You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a use-case where a store could be restarted, but it had parameters which had to be type-safely passed to the store on launch. I solved that using a custom flow and a hacky onStop callback to null those out. We can add this feature natively to the lib itself.
Designing an API for this feature is going to be tricky however since there will be a new type argument and new function parameters for both the store builder and a launch function. Maybe this feature will have to wait until the next major release
The text was updated successfully, but these errors were encountered:
Description
There is a use-case where a store could be restarted, but it had parameters which had to be type-safely passed to the store on launch. I solved that using a custom flow and a hacky onStop callback to null those out. We can add this feature natively to the lib itself.
Designing an API for this feature is going to be tricky however since there will be a new type argument and new function parameters for both the store builder and a launch function. Maybe this feature will have to wait until the next major release
The text was updated successfully, but these errors were encountered: