-
Notifications
You must be signed in to change notification settings - Fork 88
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
Outlet context 和 useKeepOutlets 如何共用 #647
Comments
没理解问题,你就把 useKeepOutlets 当 Outlet 使用,不能满足吗 ? |
Outlet 组件可以传递context,比如<Outlet context={{ prop: 'from Layout'}} />,useKeepOutlets 可以支持context传递吗? |
用了useKeepOutlets 后,我需要在哪里注入context |
不理解你要做什么,可以给一个 demo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
有个页面既需要页面缓存,又需要层级传递数据,该如何实现
The text was updated successfully, but these errors were encountered: