Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React 16 Support + Fix NPM links #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

gingur
Copy link

@gingur gingur commented Jun 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants