[deps] @hookform/devtools should be optional peer
hpierre74 opened this issue · 0 comments
hpierre74 commented
Describe the bug
We bundle @hookform/devtools
since it's declared as dependency.
It should be conditionally lazy loaded and moved to optionalPeerDeps
Expected behavior
Users can use the library without the devtools