reflux / refluxjs

A simple library for uni-directional dataflow application architecture with React extensions inspired by Flux
BSD 3-Clause "New" or "Revised" License
5.36k stars 330 forks source link

npm WARN reflux@6.4.1 requires a peer of react@^15.0.2 but none was installed. #529

Closed tommycom-sudo closed 7 years ago

tommycom-sudo commented 7 years ago
"dependencies": {
    "react": "16.0.0-alpha.6",
    "react-native": "0.44.2",
    "reflux": "^6.4.1"
},

please help,thanks

kriscarle commented 7 years ago

Hi @bossno1

That is a normal warning telling you that Reflux needs React version 15. You are using an alpha version of React 16. Unless you absolutely need to experiment with React 16, I would recommend sticking with a stable version of React 15.

Libraries like Reflux will lag behind the bleeding edge React code, understandably so, as it often takes a lot of effort to upgrade and it is better to wait for the new version to be stable. If you really need to use React 16 now you will likely need to fork and try to upgrade libraries like Reflux yourself. If all goes well you can submit it back here as a PR.

Best of luck learning React and React Native :)

(Also I'm not an owner/member here, just a fan trying to help out :) )

tommycom-sudo commented 7 years ago

thanks!