FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

React 16 Support + Fix NPM links by gingur · Pull Request #2 · rough-stuff/wired-elements-react · GitHub

Repository navigation

React 16 Support + Fix NPM links - #2

Open
gingur wants to merge 2 commits into
rough-stuff:mainfrom
gingur:main
Open

gingur wants to merge 2 commits into
rough-stuff:mainfrom
gingur:main

Conversation

gingur commented Jun 24, 2021 •
edited
Loading

Copy link
Copy Markdown

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL