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

Accept a Component, not React #6

Merged
merged 2 commits into from
Jul 22, 2017
Merged

Accept a Component, not React #6

merged 2 commits into from
Jul 22, 2017

Conversation

andrejewski
Copy link
Owner

@andrejewski andrejewski commented Jul 22, 2017

React offers Component and PureComponent classes to extend and since we don't need React itself for anything but the Component class asking for it directly allows people the choice.

Since we don't have tests ensuring that it works with Preact, I do not feel right documenting it yet.
@andrejewski andrejewski merged commit ce363aa into master Jul 22, 2017
@andrejewski andrejewski deleted the just-component branch July 22, 2017 19:50
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.

None yet

1 participant