saas icon indicating copy to clipboard operation
saas copied to clipboard

December 2022 / January 2023 update (done)

Open tima101 opened this issue 1 year ago • 0 comments

  • [x] packages, node, yarn, next.config.js, helmet, mongoSessionStore.create, MONGO_URL, node-fetch, stripe.ts, highlight.js, mongoose.set, LRU.ttl
  • [x] comments on "shared initial data" and "per-page data" (Chapter 7)
  • [x] instructions for serverless v3 (Chapter 9)

getServerSideProps: cannot be used, error: Error: You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.

The withAuth HOC has to retire in its current form. Its authentication logic can be moved to _app.tsx. Example: https://github.com/async-labs/async/blob/main/app/pages/_app.tsx

See: https://github.com/vercel/next.js/discussions/10925

tima101 avatar Dec 14 '22 16:12 tima101