builderbook
builderbook copied to clipboard
November 2021 (done)
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 ofwithAuth.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; updateREADMEfile (chapter content to be changed) - [x] create another set: class component to functional component (
ReadChapter->ReadChapterFunctional, Express routes insideroutesWithSlug):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
builderbookwith codebase insidebook/9-end - [x] review instructions in Chapter 9 for
Node.js 14 running on 64bit Amazon Linux 2:enginesinpackage.json- build locally before deploy
- modify
config.yml
- [x] redeploy demo to Heroku
- [x]
getInitialPropsfiring for SSR and CSR pages:MyDocument.renderwithAuth.getInitialPropsReadChapter.getInitialProps
- [x] lifecycle method firing:
ReadChapter.componentDidMountReadChapter.componentDidUpdate(before condition and inside condition)ReadChapter.componentWillUnmount