The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Flux Architecture: Routing with react-router 1.0

Flux Architecture: Routing with react-router 1.0

6:00
In this lesson we'll introduce routing into our application using react-router 1.0
Watch this lesson now
Avatar
egghead.io

In this lesson we'll introduce routing into our application using react-router 1.0

Avatar
Aviad

I got to a point where the {props.children} are defined but are not rendered inside of the Template component.
Webpack is saying nothing and so as the chrome console.
Any ideas?

Avatar
Joel

I got to a point where the {props.children} are defined but are not rendered inside of the Template component.
Webpack is saying nothing and so as the chrome console.
Any ideas?

Did you compare your code to the provided lesson code?

In reply to Aviad
Avatar
Richard

I brought in the latest version of react-router, and history. Check the package.json on github (https://github.com/joemaddalone/egghead-flux-architecture/blob/08-routing/package.json). Was having issues with version 1.0. https://github.com/rackt/react-router/issues/2195

Avatar
sabha

Do we have any course or code for converting this simple Storefront app to REDUX.

In reply to egghead.io
Avatar
Rahul

Hi Joel,

While adding headers and links, I got an error saying getCurrentLocation is undefined. On trying various things, I finally was able to make it work by adding history = { hashHistory } in Router component in the app.js file.
So, I am wondering why did it work in your case without history?

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?