Skip to content

Conversation

@alex-page
Copy link
Member

WHY are these changes introduced?

This functionality is rarely used in our product and should be replaced with layout primitives in the future.

WHAT is this pull request doing?

Deprecating the thumbnail property

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2021

size-limit report

Path Size
cjs 165.83 KB (0%)
esm 96.37 KB (0%)
esnext 143.04 KB (0%)
css 34.34 KB (0%)

Copy link
Member

@kyledurand kyledurand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also add something like this in the file

if (process.env.NODE_ENV === 'development' && thumbnail != null) {
  console.warn('The thumbnail prop from Page has been deprecated');
}

Copy link
Contributor

@sarahill sarahill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 🚢

@alex-page alex-page merged commit e4211d5 into main Nov 26, 2021
@alex-page alex-page deleted the deprecate-thumbnail branch November 26, 2021 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants