Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

add react & react-dom as peer dependency, fix #94 #95

Closed
wants to merge 1 commit into from

Conversation

gasolin
Copy link
Contributor

@gasolin gasolin commented Mar 5, 2017

No description provided.

@eliperelman
Copy link
Member

Unfortunately we can't add these as peerDeps for a couple reasons:

  • peerDeps can't be disabled. If someone wants to create a neutrino-preset-preact based on the react preset, they won't be able to get rid of the warnings.
  • Using versions is a maintenance burden on the preset, and we made this mistake with Neo. By specifying a version, we are forced to track with React when their version changes, possibly falling behind.

I think the right thing to do is document it the best we can.

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

Successfully merging this pull request may close these issues.

None yet

2 participants