© 2026 Hashnode
This is a short rundown on all the security measures and optimizations that you might miss out on if you go with the native html <img /> tag instead of <Image /> component from Next.js. The usual suspects: Cross-Site Scripting (XSS attacks) and Denia...
