TOSIT-IO / tdp-ui

Graphical interface for tdp-server
Apache License 2.0
3 stars 2 forks source link

Variable edition state optimization #164

Closed PaulFarault closed 1 year ago

PaulFarault commented 1 year ago

The user input of the form are stored in Redux. It would be better to store them in a local context (as it was in the first place, but keeping the reducers introduced by Redux), and then send it to Redux once validated.

Also, we must ensure that the variables that have been modified and then the modification canceled, are not send to the server. (as described in https://github.com/TOSIT-IO/tdp-ui/pull/157#issuecomment-1415863529).

PaulFarault commented 1 year ago

We may want to use React Hook Form for this one.

PaulFarault commented 1 year ago

Unintentionally closed