Code Monkey home page Code Monkey logo

Comments (4)

LLLLLamHo avatar LLLLLamHo commented on June 3, 2024 1

I have the same problem and I am looking for a perfect solution. Is there a perfect solution to solve this problem? @jarriaza-102

I don't think there's a "clean" solution for this, I would say the code in the library should be changed to not use the outdated code.

To deal with this, I created a new repository, upgraded it based on Next-redux-wrapper, upgraded both react and next, and still passed all the original tests. At present, my own project has been connected to next-redux-wrapper-future development. Consider giving it a try to see if it solves your problem.

from next-redux-wrapper.

LLLLLamHo avatar LLLLLamHo commented on June 3, 2024

I have the same problem and I am looking for a perfect solution. Is there a perfect solution to solve this problem? @jarriaza-102

from next-redux-wrapper.

jarriaza-102 avatar jarriaza-102 commented on June 3, 2024

I have the same problem and I am looking for a perfect solution. Is there a perfect solution to solve this problem? @jarriaza-102

I don't think there's a "clean" solution for this, I would say the code in the library should be changed to not use the outdated code.

from next-redux-wrapper.

Andrea-Dispe avatar Andrea-Dispe commented on June 3, 2024

I have the same issue and, if I interpreted correctly, the App Router architecture doesn't work with next-redux-wrapper but only Pages Router architecture works with it.
From the Redux official doc it says:

The Pages Router is the original architecture for Next.js. If you're using the Pages Router, Redux setup is primarily handled by using the next-redux-wrapper library, which integrates a Redux store with the Pages Router data fetching methods like getServerSideProps.

And for App Router it explains the steps to follow:
https://redux.js.org/usage/nextjs

from next-redux-wrapper.

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.