clauderic / clauderic/react-sortable-hoc

@babel/runtime should be a peerDependency instead of dependency

Open
#683 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

If `@babel/runtime` were set to be a `peerDependency` it would allow users of this library to choose which version of `@babel/runtime` to install. Our web app already uses multiple different versions of `@babel/runtime`. After installing `react-sortable-hoc`, we saw an increase of 2 KiB due to `@babel/runtime`. By forcing it to be a "dependency" and not "peerDependency", we end up duplicating code.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.