ReactSSRCasts
ReactSSRCasts copied to clipboard
Companion Repo to https://www.udemy.com/server-side-rendering-with-react-and-redux
```javascript app.get('*', (req, res) => { const store = createStore(req); const promises = matchRoutes(Routes, req.path) .map(({ route }) => { return route.loadData ? route.loadData(store) : null; }) .map(promise => {...
Hi! Im trying to add the user id in the url..like /users/1 I put 'user/:id' router´s file but the problem is that when i call the component with props it...
https://github.com/StephenGrider/ReactSSRCasts/blob/99f281431594d8bb925331c5bb44793020fd8ba1/server/src/index.js#L52
https://github.com/StephenGrider/ReactSSRCasts/blob/99f281431594d8bb925331c5bb44793020fd8ba1/server/build/bundle.js#L1
https://github.com/StephenGrider/ReactSSRCasts/blob/99f281431594d8bb925331c5bb44793020fd8ba1/server/package.json#L19
Hi Stephen, When I navigated to '/admins' unauthed, the 301 "Moved Permanently" status code was cached by my browser (Chrome). When visiting the route, even after logging in, it would...