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

Context Api doesn't work #31

Open
RodolfoSilva opened this issue Aug 14, 2019 · 2 comments
Open

Context Api doesn't work #31

RodolfoSilva opened this issue Aug 14, 2019 · 2 comments

Comments

@RodolfoSilva
Copy link

Has any example with Context API? I've tried use Context Api with this example

https://github.com/bcherny/angular2react-demos/tree/master/multi-file

But doesn't work.

I thinks is because angular2react create a new tree.

image

@bcherny
Copy link
Contributor

bcherny commented Aug 14, 2019

I think it should just work, as long as all of your React components are descendent of your Provider.

@RodolfoSilva
Copy link
Author

@bcherny I've tried use in your example but doesn't work :(
Has a PR with React Portal, but doesn't work too.

coatue-oss/react2angular#107

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