Unmountable global state provided by routes
Open
proposal
runtime
- Dominant language
- TypeScript
- Stars
- 38
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Routes could provide global state (avoiding the need for prop drilling) that can be unmounted by the client router whenever a page is primed for garbage collection.
### Possible API
- pass state modules to `global` option of `route` declaration
- add a `release` client-side method to state modules?
- add a client-side function for releasing all state modules used by a specific page module
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.