We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果根据文档中的api,如果要实现点击,打开一个tab页,切换tab页保持缓存,那是没有问题的。
但是考虑到点击tab页上的关闭,要卸载掉路由,文档里的forceUnmount,在代码中并没有找到,不知是否已经删除了这个api。
而且似乎以下的场景也还是没法实现(没有代码无法看实现细节): /user/:id路由为这个,然后打开了三个tab页,分别是/user/1, /user/2, /user/3,点击关闭3,如果使用forceUnmount去匹配3时卸载(通过mobx之类的中转值),可是整个LiveRoute不是应该都会卸载吗?那1和2的还会存在吗
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如果根据文档中的api,如果要实现点击,打开一个tab页,切换tab页保持缓存,那是没有问题的。
但是考虑到点击tab页上的关闭,要卸载掉路由,文档里的forceUnmount,在代码中并没有找到,不知是否已经删除了这个api。
而且似乎以下的场景也还是没法实现(没有代码无法看实现细节):
/user/:id路由为这个,然后打开了三个tab页,分别是/user/1, /user/2, /user/3,点击关闭3,如果使用forceUnmount去匹配3时卸载(通过mobx之类的中转值),可是整个LiveRoute不是应该都会卸载吗?那1和2的还会存在吗
The text was updated successfully, but these errors were encountered: