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

make prepare work with constructor #8

Merged
merged 2 commits into from
Aug 24, 2017

Conversation

edvinerikson
Copy link
Contributor

In React you don't have to pass props and context to super() which makes us need to assign these props anyway.

@warlo
Copy link

warlo commented Aug 2, 2017

@edvinerikson and @elierotenberg Want to revive this? I am having problems with react-portal raising errors because this.props is not defined. This seems like the right way to handle it! :)
tajo/react-portal#158

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.

3 participants