Next.js
- How to make my nextjs project hot reload (on save or change) without caching while running a dev build?
So currently the way I rerun my changes are either by deleting the .next folder or rerunning the
npm run dev
command because of nextjs' caching (even if I delete the cache on the browser the changes are not reflected). Is there a way to hot reload a nextjs project without using a 3rd party dependency but rather just a set of nextjs configs, just when running a dev build? - An ESLint rule to require the sizes attribute for Next.js’s <Image>axel.leroy.sh An ESLint rule to require the sizes attribute for Next.js’s <Image>
I forgot to set the sizes attribute on <Image>s, resulting in bigger than required images to be sent to users. This led me to write an ESLint rule to prevent this issue from happening again.
cross-posted from: https://lemmy.blackeco.com/post/863915
> The article mentions Next.js but it also applies to vanilla React as the
sizes
attribute is useful even outside Next's<Image>
component. - Next.js 14.1nextjs.org Next.js 14.1
Next.js 14 includes improvements to self-hosting, error messages, parallel and intercepted routes, Turbopack, and more.
- Next.js Weekly #36: Better Tailwind Components, Production Checklist, JSX Email, Testing Guidenextjsweekly.com Next.js Weekly #36: Better Tailwind Components, Production Checklist, JSX Email, Testing Guide
A weekly newsletter of the best Next.js articles, tools and projects
- Next.js 14nextjs.org Next.js 14
Next.js 14 includes included performance, stability for Server Actions, a new course teaching the App Router, and more.