Seedstars / django-react-redux-base

Seedstars Labs Base Django React Redux Project
MIT License
2.66k stars 341 forks source link

React-router not working #106

Open vikaskyadav opened 6 years ago

vikaskyadav commented 6 years ago

I have configured everything but I can't see routes working as expected. Can anyone help me in this regard?

dopeboy commented 6 years ago

Can you give a specific example of what you're running into?

LennyLip commented 6 years ago

I have the similar problem. But the router is working really.

Here is some strange code https://github.com/Seedstars/django-react-redux-base/blob/master/src/static/containers/index.js

It won't works with my webpack and fail eslint checking.

Also, I don't see such construction in docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export

Switch to

import HomeView from './HomeView/index'
export { HomeView }

helps.