Skip to content

December 2022 / January 2023 update (done) #193

@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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy