Code Monkey home page Code Monkey logo

Comments (9)

mczeplowski avatar mczeplowski commented on July 21, 2024 1

I can do it, but before that we have to merge #54

from devfaq.

typeofweb avatar typeofweb commented on July 21, 2024

We also need to decide on the strategy – we could migrate to complete static generation, but do we want to? Do we prefer to keep on using SSR?

from devfaq.

mczeplowski avatar mczeplowski commented on July 21, 2024

I think current way of rendering is good for this project.

from devfaq.

mczeplowski avatar mczeplowski commented on July 21, 2024

There is a problem with the newest version of next-redux-wrapper. After update and required changes application has a problem with routing. It is related to HYDRATE action added in 6 version of lib. Here you have simple use example of newest lib. https://github.com/vercel/next.js/blob/canary/examples/with-redux-wrapper/store/store.js

from devfaq.

typeofweb avatar typeofweb commented on July 21, 2024

I did some research, and I guess you're right, there's no need to migrate away from getInitialProps

from devfaq.

mczeplowski avatar mczeplowski commented on July 21, 2024

If you wanna check how it works you can run app on my fork's branch issue-8-migrate-from-getinitialprops.
Here you can find required changes: develop...mczeplowski:issue-8-migrate-from-getinitialprops

from devfaq.

mczeplowski avatar mczeplowski commented on July 21, 2024

So 5th version of next redux wrapper is working with app with no changes. The newest version (6th) require some changes, but after them our app has breaking routing, so it will be a bigger task. You can check this running my branch.

from devfaq.

typeofweb avatar typeofweb commented on July 21, 2024

Sounds good! Create a PR and I'll refactor routing later. I don't remember why I even did it this way.

from devfaq.

typeofweb avatar typeofweb commented on July 21, 2024

Fixed in #85

from devfaq.

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.