Follow along for the React-SSR course by Stephen Grider
Topics covered:
- ReactDOM -> renderToString
- Running JSX on the server using webpack and babel
- Hydration of server rendered html
- webpack-merge
- webpack-node-externals
- StaticRouter for SSR
- Creation of redux store for both server and client
- Use of react-router-config to match routes without actually rendering the app
- Redux state "rehydration"
- Setup proxy for api requests
- Setup different axios instances and pass them with redux thunk
- Context for StaticRouter for handling 404s
- Wrapping promises inside promises for error handling inside promise.all (server side)
- requireAuth higher order component
- Handling redirects while rendering server side
- Setting meta tags with react-helmet
API Used: http://react-ssr-api.heroku.com/