7 ms·
Hi guys, I have built a custom hook for form validation, please check it out and feedback welcome <3
by bluebill1049 7y ago
Hi guys,
I have built a custom hook for form validation, please check it out and feedback welcome <3
- latchkey 7y agoThis looks great. How about a comparison against https://final-form.org/react https://final-form.org/react ?
- bluebill1049 7y agoSure I will looking into it and add to the comparison.
- latchkey 7y agoGreat thanks. One other helpful thing would be to start a project full of pre-wrapped components for various frameworks. It would be lovely to just yarn add something that would give me Material-UI components already set up. I'm sure others would love a Bootstrap version... etc. The more you can lower the barriers to entry, the better.
- bluebill1049 7y agoThat sounds like a great idea! Maybe I should set up some quick templates.
- bluebill1049 7y agoBy the way I did have a folder of examples as well. Quite lot of them: https://github.com/react-hook-form/react-hook-form/tree/master/examples https://github.com/react-hook-form/react-hook-form/tree/mast... with codesandbox link too
- latchkey 7y agoSure, I've seen examples, but that is different than what I'm talking about. I want components. =) For example, with react-final-form, I wrote a thin wrapper for Material-UI component (example [1]). While it didn't take me that long to do, it does have some weird edge cases that I had to google around for. It would be nice to not have to figure this stuff out with your framework too and would encourage me to try it out more quickly. I know that formik and redux-forms are popular, but react-final-form and your framework seem to have a lot of overlap. Both seem to be pretty well done. [1] https://gist.github.com/lookfirst/558fb2161fd633c7eaab412b851f1c19 https://gist.github.com/lookfirst/558fb2161fd633c7eaab412b85...
- bluebill1049 7y agosounds good. i will be looking into that :)
- zuck9 7y agoLanding page is pretty impressive. Nice work :)
- bluebill1049 7y agoThank you. I was try to giving everyone some good context why built this form lib.
- helb 7y agoI've been playing with it for the past ~40 minutes and i really like it. Can't wait to use it on a real project soon. In fact, i might start converting some older things to it in spare time. The website and docs are absolutely amazing, best i've seen in a long time. Thank you for doing this!
- bluebill1049 7y agoThank you so much for those kind words. This means so much to me seriously. I love making things and especially when others are enjoy to use. I will keep improving the site and package. Feel free to ask questions in github :) again thank you <3