Next.js

59 readers
1 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 9 months ago
MODERATORS
1
 
 

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?

2
 
 

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.

3
4
5