redux-polyglot
redux-polyglot copied to clipboard
Add ability to pass withRef: true to connect()
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?
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
Because #79, translate hoc will be deprecated soon.
@satazor: Are you ok with using getP directly with connect here ?
Can I close this issue ?