Skip to content
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: Performance optimization of useTranslations #475

Merged
merged 5 commits into from
Aug 23, 2023

Conversation

amannn
Copy link
Owner

@amannn amannn commented Aug 23, 2023

Fixes #294

  • Avoid creating message format instances if possible
  • Introduce a cross-component message format cache

@vercel
Copy link

vercel bot commented Aug 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
example-next-13-next-auth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 7:23pm
next-intl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 7:23pm
next-intl-example-next-13 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 7:23pm

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.

Improve performance of useTranslations
1 participant