Our great sponsors
-
TanStack Query
π€ Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
This looks like a very large component. Have your state as close as possible to where it is being used. Just split it up into multiple components where each component handles one thing. Also, for any state that handles data from the server, use react-query. These 2 things can get you pretty far.
https://react-hook-form.com can help a bit. Itβs literally one of the best tools for pages with lots of inputs.
could be a non-issue, could be the case of not having proper state management. in case of the latter i'd try something like zustand for react (https://github.com/pmndrs/zustand)
If you want to try something a bit different with regards to state management, you can try: https://github.com/RisingStack/react-easy-state