This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
fluxible should be a peer dependency #40
Comments
Typically npm will hoist the dependency if the versions are the same and only install in the root folder that has the |
The problem with that is that you always have to know which version of fluxible is used by fluxible-router and keep them in sync. Using a peerDependency would show you warning during In my case I always use exact version numbers in my package.json, so if I depend on fluxible |
Fair point about the warning. We will make that change. |
Awesome, thanks 👍. |
mridgway
added a commit
that referenced
this issue
Jun 2, 2015
[resolves #40] Move fluxible to peer dependencies
Changed in v0.1.8. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently
fluxible
is a normal dependency offluxible-router
. As you can see in the flux-examples this can be problem causing two different versions of fluxible in your bundled javascript file.The text was updated successfully, but these errors were encountered: