Unmountable global state provided by routes
未關閉
proposal
runtime
- 主要語言
- TypeScript
- 星號
- 38
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。