Skip to content

December 2022 / January 2023 update (done) #193

Open
@tima101

Description

@tima101
  • packages, node, yarn, next.config.js, helmet, mongoSessionStore.create, MONGO_URL, node-fetch, stripe.ts, highlight.js, mongoose.set, LRU.ttl
  • comments on "shared initial data" and "per-page data" (Chapter 7)
  • 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: vercel/next.js#10925

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions