-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for React 18 #2965
Conversation
🦋 Changeset detectedLatest commit: 4a408ae The changes in this PR will be included in the next version bump. This PR includes changesets to release 96 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for paste-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Passing run #5392 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Size Change: +4.13 kB (0%) Total Size: 902 kB
ℹ️ View Unchanged
|
✅ Deploy Preview for paste-theme-designer ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
da061ae
to
6e9dc5f
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 4a408ae:
|
.changeset/lucky-years-doubt.md
Outdated
'@twilio-paste/toast': minor | ||
'@twilio-paste/tooltip': minor | ||
'@twilio-paste/truncate': minor | ||
'@twilio-paste/core': minor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make this a major for all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I won't bother amending my changeset. Let's bundle in a few majors together
@@ -26,7 +26,7 @@ const Wrapper = styled.div( | |||
}) | |||
); | |||
|
|||
export const AllBadges: React.FC = () => ( | |||
export const AllBadges = (): JSX.Element => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest (non-blocking): If you were going to the effort of swapping all these, you could swap them to
export const AllBadges:StoryFn = () => (
Which returns a JSX.Element
headerSort.click(); | ||
act(() => { | ||
headerSort.click(); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: Nice. Wonder if we're seeing some speed improvements on these tests now?
@@ -102,7 +107,7 @@ const Select = React.forwardRef<HTMLSelectElement, SelectProps>( | |||
size={multiple ? size : 0} | |||
variant={variant} | |||
> | |||
{children} | |||
{showOptions && children} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: should this have it's own changeset? I know its for hydration, but if someone upgrades would it be useful to us or them to have a call out specifically in this components changelog mentioning this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah a changeset could be helpful for this!
766ad8e
to
4a408ae
Compare
@twilio-paste/uid-library
to detect and use React'suseId
hook if available