Giter VIP home page Giter VIP logo

isomorphic-redux-plus's People

Contributors

bananaoomarang avatar dattaya avatar kirbyk avatar nikgraf avatar oliviercuyp avatar tavelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

isomorphic-redux-plus's Issues

How to render dynamic route on the server

How would you render a dynamic route on a TodosView.js component? (example localhost:3000/todos/1 where 1 is the id of the todo item)

In Todos component, you used:
@fetchdata((state, dispatch) => dispatch(todoActions.loadTodos()))

So, In TodosView, how would you get the parameter ( 1 in this case ), and then pass it to the getTodo(id) action so that it can be rendered on the server?

Axios interceptor runs more and more on each page load

The Axios interceptor in server.js is run more and more on each page load. On first load it is run twice, four times the next load, then six, then eight etc.

It seems it runs all previous requests as well as the current one. The final one must be the one that returns a result as this sets all cookies etc meaning if you login in from multiple browser sessions the same user is always logged in.

Is there any way around this?

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.