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

Extends React.Component directly without create-react-class #416

Merged
merged 3 commits into from
Dec 31, 2018

Conversation

poernahi
Copy link
Contributor

Currently, reagent is using create-react-class package which is no longer maintained upstream. This PR creates component by extending React.Component as recommended by React.

This should improve compatibility with current and future versions of react.

All test passed, no tests were modified.

I did not remove the dependency to create-react-class as it was required for some test cases. To be done on future PR.

@Deraen
Copy link
Member

Deraen commented Dec 17, 2018

Interesting! I'll check this at some point. I think I tried something similar but hit problems with some interop calls, so I'll need to try this with some projects to see if our tests are comprehensive.

If this works, fixing aget/aset calls with interop is also good place to improve the codebase: #325

@Deraen Deraen merged commit ce3ff1d into reagent-project:master Dec 31, 2018
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.

2 participants