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

使用Redux Provider注入的时机是什么?在onLoad前吗 #15863

Open
WangChloe opened this issue Jun 11, 2024 · 0 comments
Open

使用Redux Provider注入的时机是什么?在onLoad前吗 #15863

WangChloe opened this issue Jun 11, 2024 · 0 comments

Comments

@WangChloe
Copy link

这个特性解决了什么问题?

Taro项目,使用Redux

在用Provider connect时,Provider store内无法获取当前路由,怀疑是因为此时还没到onLoad生命周期。

这个 API 长什么样?

请问下官方相关调用时序,以及如何能在Provider store内获取到当前路由信息

This was referenced Jun 15, 2024
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

1 participant