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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support React Hooks #43

Open
styfle opened this issue Oct 30, 2018 · 2 comments
Open

Support React Hooks #43

styfle opened this issue Oct 30, 2018 · 2 comments

Comments

@styfle
Copy link
Contributor

styfle commented Oct 30, 2018

Could dot-dom support React Hooks to manage state?
Maybe create a dot-dom-hooks project so users could opt-in?
This would provide really great compatibility between React Components and dot-dom Components 馃槃

https://reactjs.org/docs/hooks-intro.html

@wavesoft
Copy link
Owner

wavesoft commented Jan 2, 2019

Hello @styfle ! That's not a bad idea.
This reminds me that I should work a bit on the modularity of the project, that we were discussing a year ago 馃槃 let me try to put it on my side-project backlog :)

@mindplay-dk
Copy link

@styfle have a look at Fre maybe: I haven't tested this yet, but it claims to be React-compatible for the hooks API - e.g. hooks only, no classes. It has a fiber-based render scheduler, which is really impressive in under 2K... assuming this actually works - it has no tests 馃槒

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

3 participants