Giter Club home page Giter Club logo

Comments (8)

shincysl avatar shincysl commented on June 5, 2024 10

Hi, we use the package from npm. Could you help to publish a release for the change? Thank you!

from connected-react-router.

supasate avatar supasate commented on June 5, 2024 2

Released v4.4.0 today and listed redux 4.x in peerDependency :). Sorry for keeping you guys waiting!

from connected-react-router.

taime avatar taime commented on June 5, 2024 1

I don't get it:

  1. "react-router-redux": "^4.0.8" works with redux 4 and it's deprecated.
  2. connected-react-router is newer version of ConnectedRouter from deprecated react-router-redux but it only work with redux 3 and does NOT work with redux 4

Is everything right? Why it doesn't support redux4? Will it support it later or there is something wrong with redux4 and nobody should use it now?

from connected-react-router.

abraha2d avatar abraha2d commented on June 5, 2024 1

connected-react-router supports redux 4. The problem is that an npm release hasn't been made after the compatibility was updated. A temporary solution is to install from the git repo instead of from npm.

from connected-react-router.

Jtango18 avatar Jtango18 commented on June 5, 2024 1

I'm trying to work around by installing from git as suggested by @abraha2d above.

When I run yarn add https://github.com/supasate/connected-react-router.git it reports the dependency was added, but I still getModule not found: Error: Can't resolve 'connected-react-router' in whne I try to build/run.

Anyone have any ideas if I'm doing something wrong?

from connected-react-router.

branchard avatar branchard commented on June 5, 2024 1

@Jtango18 This is because npm install --save git+https://github.com/supasate/connected-react-router.git does not include \lib directory which contains the primary entry point of the lib
One of the solutions is to build the lib manually 😕

EDIT: I just made a fork here including
the \lib directory, you can get it with the following command: npm install --save git+https://github.com/branchard/connected-react-router.git, that works fine 🙂

from connected-react-router.

brneto avatar brneto commented on June 5, 2024

#75

from connected-react-router.

hspens avatar hspens commented on June 5, 2024

For those struggling with npm install --save connected-react-router reporting

unmet dependency redux@^3.6.0 for [email protected]

Uninstall connected-react-router with npm uninstall --save connected-react-router and install it from the git repository with npm install --save git+https://github.com/supasate/connected-react-router.git instead until it is updated on npmjs.

from connected-react-router.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.