8000 GitHub - jakwuh/ssr-workshop: SSR workshop source code · GitHub
[go: up one dir, main page]

Skip to content

About

SSR workshop source code

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssr-workshop

Prerequisites

node@10.7.0

  1. Install nvm
  2. Enable nvm:
    > source ~/.nvm/nvm.sh
  3. Install node:
    > nvm install 10.7.0
    > nvm use 10.7.0
    > node -v
    v10.7.0

Steps

  1. Simple SPA application
  2. Simple SSR application
    2.1. Critical dependency: the request of a dependency is an expression
    2.2. ReferenceError: regeneratorRuntime is not defined
    2.3. Render empty document
    2.4. Serve statics
    2.5. Proxy API
    2.6. Watching for changes on server side
    2.7. Fetch data only on client side
    2.8. Render document without fetching data
    2.9. Render document with fetched data
    2.10. Extract styles into separate file
    2.11. Pass store data from server to client side
    2.12. Avoid XSS
    2.13. render ⇒ hydrate
    2.14. react-router
    2.15. Simple SSR
    2.16. Advanced SSR

Additional

2.1 SSR Workshop build time comparison
2.2 webpack node configuration size comparison

About

SSR workshop source code

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0