--

CSS background images have become an antipattern because they can’t be lazy loaded or automatically resized. I’ve had to remove them from all of my projects over the last year, because they aren’t compatible with Next’s automatic image optimizations. That said, they are convenient, especially how you mentioned with Tailwind.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

No responses yet