Unmountable global state provided by routes
Aberta
proposal
runtime
- Linguagem predominante
- TypeScript
- Estrelas
- 38
- Forks
- 1
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.