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

Add ability to pass withRef: true to connect() #77

Open
satazor opened this issue Feb 2, 2017 · 2 comments
Open

Add ability to pass withRef: true to connect() #77

satazor opened this issue Feb 2, 2017 · 2 comments
Assignees

Comments

@satazor
Copy link
Contributor

satazor commented Feb 2, 2017

I need to be able to create a ref for an enhanced component but I can't do it since connect needs to be called with withRef. Unfortunately there's no way to do it currently. Thoughts?

@satazor satazor changed the title Add ability to pass withRef: true to connect() Add ability to pass withRef: true to connect() Feb 3, 2017
@guillaumearm guillaumearm self-assigned this Feb 19, 2017
@guillaumearm
Copy link
Collaborator

Sorry for the late @satazor , waiting for a redux-polyglot 1.0 release candidate, you can directly use connect from react-redux using getP in the mapStateToProps function

@guillaumearm
Copy link
Collaborator

Because #79, translate hoc will be deprecated soon.

@satazor: Are you ok with using getP directly with connect here ?
Can I close this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants