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

Use with Context API #37

Open
jp-signum opened this issue Mar 20, 2019 · 1 comment
Open

Use with Context API #37

jp-signum opened this issue Mar 20, 2019 · 1 comment

Comments

@jp-signum
Copy link

jp-signum commented Mar 20, 2019

How would you use this with a functional or class component that requires the use of the context API to retrieve data from elsewhere in your application. It seems to be completely breaking my component. From your docs it seems like formerly recompose and now Hooks might be the answer but I cant seem to get anything I try to work so wondering if you had any best practices or ideas. Also noticing on components with any form of prop propagation that the examples or docs you provide do not provide a way to use this.

@damiangreen
Copy link

Where does it mention hooks in their docs? I'd like to try using hooks myself with this.

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

No branches or pull requests

2 participants