slider icon indicating copy to clipboard operation
slider copied to clipboard

Why React is not a peerDependency?

Open viniciusbo opened this issue 7 years ago • 0 comments

Hi! I ran into some weird errors since the inclusion of rc-slider in one of my libs due to duplicated copies of React being loaded.

Since my use case needs React lib as an external dependency in webpack config, I was wondering why React is not loaded as a peerDependency in rc-slider's package.json instead? Actually the same is true for rc-tooltip lib. Thanks.

viniciusbo avatar Aug 26 '19 15:08 viniciusbo