builderbook icon indicating copy to clipboard operation
builderbook copied to clipboard

November 2021 (done)

Open tima101 opened this issue 4 years ago • 0 comments

changes at the end of Chapter 9, codebase book/9-end:

  • [x] upgrade next to v12 (chapter content to be changed)
  • [x] upgrade material-ui to v5 (breaking changes): see https://github.com/async-labs/saas/issues/163 (chapter content to be changed)
  • [x] upgrade rest of packages (chapter content to be changed)
  • [x] check font implementation (chapter content to be changed)
  • [x] style for spinner from nprogress (changed link, chapter content to be changed)
  • ~~ReadChapter.getInitialProps -> ReadChapter.getServerSideProps~~ requires removal of withAuth.getInitialProps, data serializing, small refactor. Not enough benefit (reducing bundle size sent to browser)
  • [x] change usage for dotenv; update name for universal (not server-only) environmental variables; update README file (chapter content to be changed)
  • [x] create another set: class component to functional component (ReadChapter -> ReadChapterFunctional, Express routes inside routesWithSlug):
    • DiscussionPageCompFunctional: https://github.com/async-labs/saas/blob/master/book/11-end/app/pages/discussion-f.tsx
    • https://github.com/async-labs/saas/issues/163

  • [x] update content in Chapter 9 and few other affected chapters
  • [x] replace codebase inside builderbook with codebase inside book/9-end
  • [x] review instructions in Chapter 9 for Node.js 14 running on 64bit Amazon Linux 2:
    • engines in package.json
    • build locally before deploy
    • modify config.yml
  • [x] redeploy demo to Heroku
  • [x] getInitialProps firing for SSR and CSR pages:
    • MyDocument.render
    • withAuth.getInitialProps
    • ReadChapter.getInitialProps
  • [x] lifecycle method firing:
    • ReadChapter.componentDidMount
    • ReadChapter.componentDidUpdate (before condition and inside condition)
    • ReadChapter.componentWillUnmount

tima101 avatar Nov 15 '21 08:11 tima101