NextJS flow - nuthanc/microservice GitHub Wiki

NextJS flow

  • Inspect URL of the incoming request. Determine set of components to show
  • Call those component's getInitialProps static method
  • Render each component with data from getInitialProps one time
  • Assemble HTML from all components, send back response