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

what different form this two case in reat-redux v7.2.3 #1708

Closed
oldturkey opened this issue Apr 8, 2021 · 1 comment
Closed

what different form this two case in reat-redux v7.2.3 #1708

oldturkey opened this issue Apr 8, 2021 · 1 comment

Comments

@oldturkey
Copy link

  1. export default Form.create()(connect(mapStateToProps)(DynamicFieldSet)); //wrong

2.export default connect(mapStateToProps)(Form.create()(DynamicFieldSet));

this first case in react-redux V5.0.4, the props wrappedComponentRef in wrapperComponment is work great,
but after i upgrade react-redux to V7.2.3, wrappedComponentRef is undefined in first case ,it can work in second case .

can you help me ,what happend in this problem.

@timdorr
Copy link
Member

timdorr commented Apr 8, 2021

The issue tracker here on GitHub is reserved for bug reports and feature requests. For usage questions (which is what I believe this is), please use our Discussions page, Stack Overflow, or Reactiflux where there are a lot more people ready to help you out. Thanks!

Please feel free to reply if you think this issue was closed prematurely.

@timdorr timdorr closed this as completed Apr 8, 2021
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