You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if I hava a message define like: { "message.id":'this is a france message, contains d\'{param}' }
then I format message like this: i18n.formatMessage({id:'message.id'},{param:'value'})
and the result will be : this is a france message, contains d'{param}
it look like it can't recognize param near by a Single quotation mark,
how can I solve this?
React version: 18.2.0
The text was updated successfully, but these errors were encountered:
Support requests filed as GitHub issues often go unanswered. We want you to find the answer you're looking for, so we suggest the following alternatives:
Coding Questions
If you have a coding question related to React and React DOM, it might be better suited for Stack Overflow. It's a great place to browse through frequent questions about using React, as well as ask for help with specific questions.
Talk to other React developers
There are many online forums which are a great place for discussion about best practices and application architecture as well as the future of React.
if I hava a message define like:
{ "message.id":'this is a france message, contains d\'{param}' }
then I format message like this:
i18n.formatMessage({id:'message.id'},{param:'value'})
and the result will be :
this is a france message, contains d'{param}
it look like it can't recognize param near by a Single quotation mark,
how can I solve this?
React version: 18.2.0
The text was updated successfully, but these errors were encountered: