industrial-optimization-group / desdeo-frontend

A frontend for DESDEO developed in typescript and react
3 stars 5 forks source link

Migrate: react-hook-form v6 -> v7 #3

Open gialmisi opened 2 years ago

gialmisi commented 2 years ago

We should migrate to the latest version of the react-hook-form library. There is a migration guide here. This should not require much else than searching for the listed occurrences and replacing them with the as pointed out in the guide.

tpmai22 commented 2 years ago

Hi would you might to describe a bit more on this issue ?

gialmisi commented 2 years ago

@BeAmazedVariable this issue would require to first updating react-hook-form from version 6 to 7. Then, one would need to modify each file where react-hook-form has been used to conform with the new changes in version 7. Instructions about the changes that need to be made have been documented in the migration guide linked in the OP.

tpmai22 commented 2 years ago

@gialmisi I can try this, would you mind to assign it to me ?