Next.js

71 readers
2 users here now

A community for discussing and posting things relating to the next.js framework

Looking for mods, if you want to mod the community feel free to dm Ategon

https://nextjs.org/

founded 1 year ago
MODERATORS
1
2
3
3
Next.js 15.2 (nextjs.org)
submitted 1 month ago by [email protected] to c/nextjs
4
 
 

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?

5
 
 

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.

6
7
Next.js 14.1 (nextjs.org)
submitted 1 year ago by mac to c/nextjs
7
8
0
Next.js 14 (nextjs.org)
submitted 1 year ago by mac to c/nextjs