Tweet
Next.js Image component requires you to specify a width and height, which is not ideal when you want the image to be responsive.

I found this workaround: omit the width and height attribute and replace it with layout.

#nextjs #vercel #Frontend #learninpublic #buildinpublic
Successfully deployed my website (under construction) in Netlify.
devdecoded.com | Built with NextJS
#learninpublic #buildinpublic