Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

This reminded myself of why I dislike Next.js

52.9K views
•
January 7, 2024
by
Web Dev Cody
YouTube video player
This reminded myself of why I dislike Next.js

TL;DR

The complexity of Next.js offers optionality but has significant learning curves and caching issues.

Transcript

so as some of you know I have openly bashed nextjs and react on my channel um there's some things about nextjs and react I just don't like I think sometimes a learning curve can be a little bit High just to kind of understand how react works and then add on top of that nextjs also is pretty complicated um I've talked about switching the remix I've ... Read More

Key Insights

  • 👻 Next.js provides a high level of optionality, allowing developers to select their preferred methods for functionalities such as routing and state management.
  • ❓ The steep learning curve for newcomers, especially those transitioning from frameworks like Angular, can be a barrier to effectively using Next.js.
  • 🥺 Caching management in Next.js is often criticized, as it defaults to enabling cache, leading to the risk of serving outdated data without proper handling.
  • 👻 There is a growing preference for frameworks that allow developers to opt into features, rather than forcing options, which Next.js somewhat enforces with its caching policy.
  • 🥺 Although flexible, the Next.js ecosystem presents challenges in state management due to the abundance of libraries and approaches available, which can lead to inconsistencies across projects.
  • ❓ The ability to fetch data dynamically is a significant benefit of Next.js, but developers must understand when and how to do this correctly to avoid performance issues or stale data.
  • ⚾ The speaker suggests that optimal practices in Next.js hinge on understanding the framework’s nuances, particularly around its caching mechanism and file-based routing systems.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are the pros and cons of using Next.js according to the speaker?

The speaker highlights that Next.js offers great flexibility and optionality, allowing developers to choose their approach. However, the downsides include a steep learning curve, especially for those familiar with more conventional frameworks, as well as persistent caching issues that can lead to stale data if not managed properly.

Q: How does Next.js's approach to routing work?

Next.js allows for file-based routing, which enables developers to create pages by simply naming files according to their routes. This design offers flexibility but also requires familiarity with Next.js’s conventions and handling of React server components.

Q: What major issues does the speaker encounter with caching in Next.js?

The speaker criticizes Next.js for enforcing caching that leads to outdated data being served. They argue that having caching enabled by default creates challenges for developers, advocating for a model where caching is turned off initially, allowing developers to opt-in for caching based on their specific requirements.

Q: How does optionality benefit developers using Next.js?

Optionality in Next.js allows developers to pick and choose how they implement features such as data fetching, routing, and server components, leading to potentially better optimized applications. However, the lack of standardization can also create confusion as developers navigate through various libraries and choices.

Q: What strategies does the speaker suggest for managing state in React within Next.js?

The speaker suggests using simple state management methods such as React's own useState or context API rather than depending entirely on external libraries like Redux or Zustand. Keeping it straightforward can sometimes yield a better developer experience amid Next.js’s many offerings.

Q: Why is the transition from Angular to Next.js described as complex?

Transitioning from Angular, which follows a more structured approach, to Next.js can feel overwhelming due to the latter's flexibility and the myriad of ways to manage state and routing. This can lead to confusion as developers must determine best practices within a more fragmented ecosystem.

Summary & Key Takeaways

  • The speaker expresses mixed feelings towards Next.js, acknowledging its optionality but criticizing its steep learning curve, especially for those transitioning from frameworks like Angular.

  • Next.js supports multiple methods for data fetching and routing, allowing developers to choose their preferences without restriction, yet it can result in disorganization in state management and APIs.

  • The speaker stresses the importance of caching and how improper handling can lead to stale data, advocating for better default settings that allow developers to opt-in for caching rather than being forced into it.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Web Dev Cody 📚

I got my first DDoS (and what you can do to help prevent it) thumbnail
I got my first DDoS (and what you can do to help prevent it)
Web Dev Cody
How Does the MacBook Air M1 Compare for Coding? thumbnail
How Does the MacBook Air M1 Compare for Coding?
Web Dev Cody
How I setup pagination in my Next.js app (with Drizzle ORM) thumbnail
How I setup pagination in my Next.js app (with Drizzle ORM)
Web Dev Cody
How I'm doing authentication on my simple Go app (with Fiber) thumbnail
How I'm doing authentication on my simple Go app (with Fiber)
Web Dev Cody
Live Coding a Shopping Cart using React thumbnail
Live Coding a Shopping Cart using React
Web Dev Cody

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.