Skip to content
New issue

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

多标签页面的状态管理怎么实现? #4

Open
su1329 opened this issue May 30, 2020 · 1 comment
Open

多标签页面的状态管理怎么实现? #4

su1329 opened this issue May 30, 2020 · 1 comment

Comments

@su1329
Copy link

su1329 commented May 30, 2020

点开一个标签都是重新加载,怎么实现状态保存?

@xinbbbb
Copy link

xinbbbb commented Aug 20, 2021

可以参考一下这个,也可以自己写个hook

https://github.com/StructureBuilder/react-keep-alive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants