That was easy! π React Final Form reimplemented using #ReactHooks.
π₯ 65 lines, prettified. π₯
Still using render props to allow fields to rerender independently. More research to come... π¬π¨βπ¬ @finalformjscodesandbox.io/s/0043kyvp0l
#ReactAlicante@ReactAlicante
first day sum up:
- let's hope 2019 will be the year of webcomponents
- redux-form? consider @finalformjs
- do not overengineering your style guide it's not a product
- a lot of testing tools to test
- maybe it's time to write own chrome ext?
Thank you so much to our newest backer, @311chaos.
Contributions like yours keep this library afloat. Every little bit helps. β€οΈ
opencollective.com/final-forβ¦
π final-form v4.9.0 π
FormState now contains a list (actually an Object) of all the currently dirty fields. Useful if you want to only submit the dirty ones.
Challenge: Asynchronously generate a warning (like an error, but doesn't halt submission) for a field whenever that field's value changes.
codesandbox.io/s/72j0kzqr3j
Not sure how useful this is, but it's sort of an interesting solution to asynchronously update a field on blur. π€·ββοΈ
codesandbox.io/s/v88y50169l