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

Update the Learn codebase #764

Merged
merged 4 commits into from
Jun 24, 2024
Merged

Update the Learn codebase #764

merged 4 commits into from
Jun 24, 2024

Conversation

leerob
Copy link
Member

@leerob leerob commented Jun 23, 2024

  • Updates all dependencies.
  • Remove ESLint / Prettier. This is fine if you want it, but can be additive to the experience. Next.js includes a guided ESLint setup, as well. Plus, there's new tools like Biome where you might want to replace both of those tools with a single toolchain.
  • Remove unneeded .nvmrc file and bump to Node.js 20 in package.json (trying to have fewer config files)
  • Move from Node.js script for seeding to a Route Handler (one less dependency for dotenv needed). Also, use a database transaction so it will rollback if any parts fail. Tested it worked.
  • Remove PPR in final example (I didn't realize this was here, it's supposed to be here to try but not the final codebase). I don't want to overly push an experimental feature.
  • Remove the noStore() calls. With the changes in Next.js 15, these queries are not cached.
  • Move the placeholder data file to TypeScript. Might as well.

Copy link

vercel bot commented Jun 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-learn-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 10:45pm
next-learn-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 10:45pm
next-seo-starter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 10:45pm

@littlecow
Copy link

littlecow commented Jun 30, 2024

How can changes be better communicated? Here I was in the middle of tutorial only to have changes made halfway through. Is there a way to go to a previous version of the tutorial?

@leerob
Copy link
Member Author

leerob commented Jun 30, 2024

Hey there, you can always checkout the repo from a specific commit if you want to use the version before this!

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

Successfully merging this pull request may close these issues.

2 participants