Best practices from open source: Use img.decode() in image-heavy applications
I came across a function img.decode() in Next.js source code. I read the MDN docs related to image.decode function. I reviewed the code that was in the img.decode proximity in image-component.tsx and identified the following best practices from image...
ramunarasinga.hashnode.dev4 min read