Skip to content

Port components to ts 4 #2723

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

Merged
merged 8 commits into from
May 15, 2025
Merged

Port components to ts 4 #2723

merged 8 commits into from
May 15, 2025

Conversation

RoyEJohnson
Copy link
Contributor

@RoyEJohnson RoyEJohnson commented Apr 1, 2025

() => new Intl.DisplayNames([language], {type: 'language'}),
[language]
const text = React.useMemo(
() => (new Intl.DisplayNames([language], {type: 'language'})).of(locale),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't support browsers so old that Intl.DisplayNames isn't supported, so I took the fallback out.

@RoyEJohnson RoyEJohnson requested a review from jivey April 7, 2025 21:34
@RoyEJohnson RoyEJohnson force-pushed the port-components-to-ts-4 branch from a8d3c58 to 9d295f0 Compare May 1, 2025 22:00
@RoyEJohnson RoyEJohnson requested a review from jivey May 5, 2025 17:19
@RoyEJohnson RoyEJohnson force-pushed the port-components-to-ts-4 branch 2 times, most recently from f073d46 to a2054a7 Compare May 9, 2025 15:51
@RoyEJohnson RoyEJohnson force-pushed the port-components-to-ts-4 branch from a2054a7 to 542594f Compare May 15, 2025 19:42
@RoyEJohnson RoyEJohnson merged commit 0aa7725 into main May 15, 2025
1 check passed
@RoyEJohnson RoyEJohnson deleted the port-components-to-ts-4 branch May 15, 2025 19:52
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.

2 participants