nextjs
Next.js BlackEco 2 months ago 50%

An ESLint rule to require the sizes attribute for Next.js’s <Image>

axel.leroy.sh

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.

0
0
Comments 0