Add support for the experimental next-intl useExtracted hook #33329
HenryWoodbury
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Components that utilize useExtracted for translation strings should pass through the string to Storybook. This works locally when running a dev server with runtime , but can fail when creating a static code site (i.e. for Chromatic testing).
Describe the solution you'd like
Support useExtracted exactly as useTranslations is currently supported.
Describe alternatives you've considered
I was able to insert strings into a static site using a plugin that searched minimized code with a regex.
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions