redux-polyglot icon indicating copy to clipboard operation
redux-polyglot copied to clipboard

Add ability to pass withRef: true to connect()

Open satazor opened this issue 8 years ago • 2 comments

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 avatar Feb 02 '17 23:02 satazor

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 avatar Apr 14 '17 21:04 guillaumearm

Because #79, translate hoc will be deprecated soon.

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

guillaumearm avatar Apr 13 '18 16:04 guillaumearm