claus / react-dat-gui

React dat.GUI
MIT License
292 stars 56 forks source link

Move react, react-dom and prop-types to peer deps #18

Closed tim-soft closed 5 years ago

tim-soft commented 5 years ago

Removes react/react-dom/prop-types from the bundle, cutting it's size in half.

ref: https://github.com/claus/react-dat-gui/issues/14

rohan-deshpande commented 5 years ago

Hey thanks for this, can you remove the yarn.lock file?

rohan-deshpande commented 5 years ago

@claus I'm going to merge this. I think we might need to do a major release as this could possibly be a breaking change for some consumers (unlikely, but still possible)