Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getComposedInstance which returns the composed component instance #28

Closed
wants to merge 1 commit into from

Conversation

frenzzy
Copy link
Member

@frenzzy frenzzy commented Mar 20, 2016

It allow to expose component functions through withStyles decorator.

See #26, #27

@koistya
Copy link
Member

koistya commented Mar 20, 2016

For review @jasonsanjose, @clempat, @joshduck 😇

@clempat
Copy link

clempat commented Mar 20, 2016

This is the solution, thanks. But I guess will have the same issue than react-redux for stateless component. or? reduxjs/react-redux#141. I don't know what is the most elegant solution.

I made workaround in my application passing the context this to parent callback through props.

@adriantoine
Copy link

That would be really helpful, what is the status of this PR? @frenzzy @koistya

@odub
Copy link

odub commented Jul 21, 2016

Keen to use this!

@frenzzy
Copy link
Member Author

frenzzy commented Oct 11, 2016

Better approach here: kriasoft/react-starter-kit#909 (comment)

@frenzzy frenzzy closed this Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants