jozsi / react-cosmos-wrapper-proxy

Easily wrap components using react-cosmos
MIT License
11 stars 1 forks source link

Support Higher Order Components? #1

Closed mmacaula closed 6 years ago

mmacaula commented 6 years ago

Would be nice to have another export (or option) that would work with HOCs.

My use case is ReduxForm. See https://github.com/react-cosmos/react-cosmos/issues/576#issuecomment-361820258 It seems like I'm asking for trouble to wrap my component in the HOC inside the fixture.

Would be interested in helping if you like. Thoughts?

jozsi commented 6 years ago

Hey @mmacaula !

It's planned - now that I see there's request for it, I'll re-prioritize my tasks and try to do it this week :)

jozsi commented 6 years ago

It landed in v1.2.0 🎉