Skip to content

Is it expected Tooltip to have dependency on @internationalized/date? #3663

Answered by devongovett
ohazda asked this question in Q&A
Discussion options

You must be logged in to vote

What bundler are you using? I'm not sure bundlephobia is correct here. It is a dependency of @react-aria/i18n, but unused by tooltip so should be tree shaken. When I bundled a simple example containing only Tooltip, it did not contain @internationalized/date.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ohazda
Comment options

@snowystinger
Comment options

@ohazda
Comment options

Answer selected by ohazda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants