saas
saas copied to clipboard
Updates Dec 2020 - Jan 2021
- update in the book (done)
domain: dev ? 'localhost' : process.env.COOKIE_DOMAIN,
- #135 (saas demo) (done)
- #136 (README as well) (done)
- move line
this.setState({ content: '' });
to clear content fromPostForm
(done) - "yarn": "1.22.5" (done)
- move
viewport
meta tag toMyApp
fromMyDocument
(done) -
socket.io
andsocket.io-client
version 3.0.3 - breaking changes (done) - ESLint fixes in codebase (done)
- ESLint fixes in content (done)
- update packages (done)
- Mongoose: setOptions => lean() (done)
- move open source project to
saas
folder (done) - HOC extensions, not HOCs:
MyApp
andMyDocument
. Actual HOC:withAuth
(Chapter 2, done) - improve
ctx.renderPage
explanation (Chapter 2, done) - remove
api/server/env.ts
file (Chapter 3, done) - remove old comments from codebase (done)
- rewrite Jest tests with
async/await
(Chapter 4, done) - comment about
membersMinusCreator
on theCreateDiscussionForm
form (done) -
isThemeDark
forDiscussionListItem
andDiscussionList
(done) -
Nprogress
forstore.currentUser.toggleTheme
(done) - two new diagrams for
session and cookie
, logged-out user and logged-in user (done, Chapter 5) - clarify why we need in book-1 and book-2:
request.credentials
for browser-to-server andreq.headers.cookie
for server-to-server (done, Chapter 5) - review Google OAuth API explanation (done, Chapter 5)
- improvements to
App
HOC,withAuth
HOC,YourSettings
page passctx.req
togetUserApiMethod
as an argument directly (done, Chapter 5 and other chapters) - upgrade
typescript
to 4.1.3 (done) - review and improve withAuth HOC explanation (done, Chapter 5)
- review Introduction chapter (done)
Done with all planned updates.