mongodb-js / connect-backbone-to-react

Connect Backbone Models and Collections to React.
https://www.npmjs.com/package/connect-backbone-to-react
Apache License 2.0
27 stars 5 forks source link

feat: Add access to wrapped component's ref #20

Closed tewson closed 6 years ago

tewson commented 6 years ago

Implements #18.

This PR is inspired by mixmaxhq#2, but I chose to follow react-redux's connectAdvanced() HOC's naming of getWrappedInstance as a reference. I also took a slightly different approach in the tests.

hswolff commented 6 years ago

Woohoo! Thank you for the PR @tewson! On first glance it looks really good! When I have a little more time this week I hope to give it a more thorough look and provide some feedback.

hswolff commented 6 years ago

Love it, wonderful contribution, thank you!

hswolff commented 6 years ago

Published as v1.6.0

tewson commented 6 years ago

Cheers, @hswolff. Kudos to @chuym for the issue report and @sbalaji1996 also for the inspiration.