wired-elements-react icon indicating copy to clipboard operation
wired-elements-react copied to clipboard

React 16 Support + Fix NPM links

Open gingur opened this issue 4 years ago • 0 comments

Move react to peerDependency

Specifying react as a dependency can cause multiple versions of React to be present in a single consumer build if there is a semver mismatch and npm/yarn is unable to dedupe.

Support react@16

AFAIK this library works just fine on react@16, so specifying a semver range that includes 16.

Fix npm links

The links specified in package.json were pointing to a non-existing repository on https://www.npmjs.com/package/wired-elements-react

Add sideEffects

Specifying "sideEffects": false in the package.json will enable bundlers like webpack to tree-shake the module.

gingur avatar Jun 24 '21 22:06 gingur