I am trying to optimize the project of company. It is like a CRUD based shopping web. I do use tanstack query for data fetching, zustand as global data center, react-hook-form and zod. They did help. But in some scenario, I am still wondering is there a better solution or not.
e.g: It always bothers me that, I have to define another data structure for form data (which is familiar with the BE data model).
and a proper way to response to the server side error , sometimes as a global alert, sometimes you need to show a new procedure for the user in the component level.