-
Notifications
You must be signed in to change notification settings - Fork 59
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
Comments
可以试试react-activation这个插件,多标签后续看情况有空加一下吧。你也可以pr一下 我来merge
Mual
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年3月1日(星期五) 下午3:52
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [panyushan-jade/react-template-admin] 能支持多标签页吗? (Issue #4)
遇到的不少项目都会有保持标签数据的需求,react没有keepalive,这块基本没有成熟的方案支持
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
react现在不需要hack keepalive方案了,zustand+router6,应该能实现了 |
是吗,没听说呢,不过好像后续react会支持 |
@panyushan-jade @at0717 思路就是利用 zustand持久化的能力存到 localstorage中.....目前需要手动刷新能读取到tabs信息,感觉组件件的无法通信......还在解决中.... 目前很痛苦.... 手动刷新之后:git-repo: https://github.com/Lil-Kr/blog-system-single/tree/oh-router-change-base |
这个问题已经fix了,zustand 的写法不对导致的 |
遇到的不少项目都会有保持标签数据的需求,react没有keepalive,这块基本没有成熟的方案支持
The text was updated successfully, but these errors were encountered: