-
Notifications
You must be signed in to change notification settings - Fork 787
Suggestion: add getWrappedInstance to withApollo #331
Comments
Good idea - send a PR? |
@SachaG I'm all for this, it makes sense to have with both. I'm curious, what do you have a need to get the wrapped instance for? I've never had the need to do and have wondered 👍 |
@jbaxleyiii well let's say you have an ES6 class |
@SachaG any progress on this? 🙂 |
Oh sorry, I got sidetracked. Also @xavcz mentioned he might want to work on this. Personally what held me up is that I haven't actually worked on NPM packages before (I'm still a Meteor guy at heart ;), so I don't have the workflow set up. Would you have any pointers on that by any chance? |
Unless I'm mistaken I think the
withApollo
HoC doesn't have agetWrappedInstance
method, unlike thegraphql
wrapper. Maybe one could be added?The text was updated successfully, but these errors were encountered: