Skip to content

Explanation of recent performance fix: Added sizes prop to Next.js Image components #14

@palladius

Description

@palladius

This issue explains the changes in commit 691a185c89a9a9f8bd2cee4ed25a1a91f7c35617.

To improve image loading performance and resolve warnings from Next.js, the sizes prop was added to all <Image> components that use the fill prop.

This change affects the following files:

  • src/app/components/ArticleCard.tsx
  • src/app/components/TalkCard.tsx
  • src/app/talks/[slug]/page.tsx
  • src/app/articles/[slug]/page.tsx

This is a performance enhancement and does not change the application's functionality.

I have also bumped the version to 0.14.5 and updated the CHANGELOG.md in commit cdc515f.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions