Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

December 2022 / January 2023 update (done) #193

Open
3 tasks done
tima101 opened this issue Dec 14, 2022 · 0 comments
Open
3 tasks done

December 2022 / January 2023 update (done) #193

tima101 opened this issue Dec 14, 2022 · 0 comments
Assignees

Comments

@tima101
Copy link
Member

tima101 commented Dec 14, 2022

  • 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

@tima101 tima101 self-assigned this Dec 14, 2022
@tima101 tima101 pinned this issue Dec 14, 2022
@tima101 tima101 changed the title December 2022 (upcoming updates) December 2022 / January 2023 update Jan 1, 2023
tima101 added a commit that referenced this issue Jan 1, 2023
klyburke added a commit that referenced this issue Jan 15, 2023
@klyburke klyburke changed the title December 2022 / January 2023 update December 2022 / January 2023 update (done) Mar 4, 2023
@tima101 tima101 unpinned this issue Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant