Created
August 29, 2021 11:09
-
-
Save jjylik/c29fbe3876b2eca750ac282375c2baa9 to your computer and use it in GitHub Desktop.
Slow react-hook-form render
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fast TS compile | |
<Controller | |
control={control} | |
...> | |
</Controller> | |
// Slow TS compile | |
<Controller<MyInputs, 'myField'> | |
control={control} | |
...> | |
</Controller> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment