-
Notifications
You must be signed in to change notification settings - Fork 67
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
How to use React Hooks? #257
Comments
@barriehadfield hooks support (along with function component support) is coming in version 5.4.0 which we plan to release in the next week or so! |
Fantastic news! Thank you. I will look out for that. I have to congratulate you on a truly excellent library which has been a delight to discover and learn. |
@barriehadfield thanks... if you think this is great... you'll love our over_react library even more! It builds atop this one to make the authoring experience much nicer... |
Hi @aaronlademann-wf do you have an idea when your 5.4.0 release is likely? Finding React hooks all over the place these days! |
Hello @aaronlademann-wf, where the Hooks API? How i can use it? I try to use Material-UI from dart-react, and i had a errors with use func |
@Atom735 the React hooks exposed by this library can be found here: https://github.com/cleandart/react-dart/blob/master/lib/hooks.dart Trying to make use of The hooks in this library allow you to write React function components in Dart. They do not make it so that you can make use of hooks written in JS components. |
React Hooks are becoming more prevalent and supported by React >16.8.0 onward.
After much experimentation, I have mot found a way to work with hooks using
react-dart
.In the example below
useHistory()
is a hook in the latest version of ReactRouter.How would it be possible to implement the code above using react-dart?
The text was updated successfully, but these errors were encountered: