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

mapStateToData 第二个变量 是 params 或 options #24

Open
mgpeng opened this issue Jun 1, 2019 · 0 comments
Open

mapStateToData 第二个变量 是 params 或 options #24

mgpeng opened this issue Jun 1, 2019 · 0 comments

Comments

@mgpeng
Copy link

mgpeng commented Jun 1, 2019

发现你已很久没有维护这个项目,很遗憾,但使用中还是遇到这个问题,提下看谁能给些帮助

mapStateToData(state, args) 中 args 在你的 wechat-weapp-redux-todos的例子中是onLoaunch 的 options, 试了下不能用网页绑定的数据 data , 但在 react-redux中 可以是 ownProps, 最好是 mapStateToData(state, options, dataPage), mapDispatchToPage(dispatch, options, dataPage), 我自己改了些,但出现其他问题,有谁能帮忙?

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