File Upload with Chakra UI and react-hook-form
source link: https://gist.github.com/Sqvall/23043a12a7fabf0f055198cb6ec39531
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
File Upload with Chakra UI and react-hook-form · GitHub
Instantly share code, notes, and snippets.
can anyone convert it into jsx?
remove anything about typescript type definitions and you are good to go.
you sir are the goat
Author
you sir are the goat
What do you mean man?
Great work! Is there a way to make the upload reactive though? I think because refs are being used the state of the form does not trigger a rerender on change.
you sir are the goat
What do you mean man?
I mean to say Thank you for this, you are the Greatest Of All Time :)
Author
you sir are the goat
What do you mean man?
I mean to say Thank you for this, you are the Greatest Of All Time :)
Thanks man, didn't know this phrases before :)
This is exactly the combination (file-upload with typescript, chakra-ui, react) I've been looking for. Thank you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK