Closed Hypnosphi closed 6 years ago
@arunoda Any chance of getting this PR merged please? The issue is littering my console with errors on React 16 (which is due to be released in the next few days). Thanks.
@Hypnosphi Thanks for raising this PR! Hopefully it will be merged soon.
@chrishearn I don't think this project is maintained anymore. You may want to fork it or just add the code to your own project. There's not too much there, so it's pretty straightforward to just maintain your own version.
We forked, fixed, and published this package as @storybook/react-komposer
if you're interested in using it. @chrishearn @jshimko
@Hypnosphi since this PR is made from our master branch, I think we can just close this for now.
React doesn't support refs for stateless functional components (SFCs), and starting from next major version, it will warn about it (see https://github.com/storybooks/storybook/issues/1539).
This PR makes it possible to opt out of setting child ref, so that
compose
can be used with SFCs.