jquense / uncontrollable

Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled
MIT License
199 stars 33 forks source link

@types/react should be a devDependency #53

Open jlabedo opened 3 years ago

jlabedo commented 3 years ago

@types/react is not necessary during runtime and should be removed from dependencies. @types/react should be added on a per project basis.

Moreover, it breaks preact/compat typescript compatibility.

I guess it could also break projects using a different @types/react version.