Skip to content

deepakisrani/ReactSSR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ReactSSR

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/

About

Follow along for React SSR course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published