Skip to content

Conversation

@broccolinisoup
Copy link
Member

@broccolinisoup broccolinisoup commented Jan 10, 2023

Token component causes type issues on memex (ref) and blocking the release.

It might be because React 18 types differ from React 17 and onResize and onResizeCapture methods are included in the expansion in 18. This is a temporary solution until we know why this causes issues.

Thanks so much to @joshblack for figuring out the issue and proposing a solution 🙏🏼

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@broccolinisoup broccolinisoup requested review from a team and siddharthkp January 10, 2023 22:20
@changeset-bot
Copy link

changeset-bot bot commented Jan 10, 2023

🦋 Changeset detected

Latest commit: 306915c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

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

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
dist/browser.esm.js 87.38 KB (0%)
dist/browser.umd.js 88.03 KB (0%)

@broccolinisoup broccolinisoup merged commit 24fb9a7 into main Jan 10, 2023
@broccolinisoup broccolinisoup deleted the bs/token-type-fixes branch January 10, 2023 23:04
@primer-css primer-css mentioned this pull request Jan 10, 2023
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