@blitz_js comes with quite some batteries included. By default it ships with @finalformjs to handle its forms.
Here an example of combining these with @MaterialUI using github.com/lookfirst/mui-rff (π).
Nothing mind blowing, but the code looks niceπ. See thread.
Congratulations to one of the users of Final Form, @WFP, proudly displayed on the Final Form homepage, on winning the 2020 Nobel Peace Prize! @NobelPrize
Thank you for all that you do. β€οΈ
nobelpeaceprize.org/Announceβ¦
TIL: If you have a component wrapping React @finalformjs's <Form> component using decorators, wrap that decorator array in a useMemo(), otherwise RFF will complain with an error message I wrote before React Hooks were a thing. π€ πβ
Been using React Final Form since it exists. If you have a huge form (nested fields or arrays), make sure to lockdown the component subscription to avoid tons of re-renders. FormSpy is a lifesaver for that.
Thank you very much to @forestryio for becoming a monthly sponsor of Final Form! What a gorgeous way to build a Git-based CMS! Check them out!
forestry.io
Final Form no longer tracks usage analytics. I would encourage each of you to question which is more unjust: a library consisting of hundreds of hours of work given to you for free tracking your IP, or you using such a library with zero compensation? π€
github.com/final-form/final-β¦
ALT Regarding the experience of working with final form, itβs been great. Apart from the fantastic subscription approach of forms, the use of provided hooks gives total control to which data is available where so that we donβt have to pass the whole form render props around to the child components further down the line.
I never got around to releasing a library called final-form-persist that would be a decorator to persist form values into localStorage, because I knew it was so relatively easy for anyone to implement. It's 20 lines of code.