You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NextJS has an Image component, which we can use in place of standard img tags.
Pros:
Faster/optimized images handled by NextJS
No build warnings
Pulling code base more in line with all NextJS standards
Cons:
These components require a height/width attribute, which we don't necessarily have on the existing image tags. This means it will take a bit of extra effort, and we may need to edit some of the image files to standardize them (not sure though)
If future NextJS releases change the Image component, we'll need to update it (presumably, <img> won't be changing any time soon...).
The text was updated successfully, but these errors were encountered:
Encountered during the upgrade to NextJS 13.
NextJS has an Image component, which we can use in place of standard
img
tags.Pros:
Cons:
<img>
won't be changing any time soon...).The text was updated successfully, but these errors were encountered: