Skip to content
#

formatjs

Here are 12 public repositories matching this topic...

willross
willross commented May 15, 2020

If a message is in all caps (e.g. "FAQ") or a message ID is in all caps/number (e.g. "404") the following error is thrown by Babel:

Error: @babel/template placeholder "FAQ": Expected string substitution

While changing message ID's to something else is not a problem, messages themselves shouldn't trigger such an error.

Is there a way to fix that?

Improve this page

Add a description, image, and links to the formatjs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the formatjs topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.