We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
useMessages
I saw an introduction to 'Server&Client Components' in the document:
But when I was using it, I reported an error:
This is my code:
So can I only import messages through import()?
not have
as mentioned above,thank you !
Please tell me what to do, thank you very much!
The text was updated successfully, but these errors were encountered:
14031da
Thanks for the report! I've just fixed this in the docs (see 14031da).
Sorry, something went wrong.
what if i have an async component?
use
import { getMessages } from "next-intl/server" const messages = await getMessages();
No branches or pull requests
Description
I saw an introduction to 'Server&Client Components' in the document:
But when I was using it, I reported an error:
This is my code:
So can I only import messages through import()?
Mandatory reproduction URL (CodeSandbox or GitHub repository)
not have
Reproduction description
as mentioned above,thank you !
Expected behaviour
Please tell me what to do, thank you very much!
The text was updated successfully, but these errors were encountered: