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
I found one corner case of FormattedMessage rich text feature usage. Rich text replacements applied on runtime, instead of build time. This could be critical for SEO optimization and for page loading speed.
I can confirm this. You can see it on a live site here: [edit: link removed] (on the CO2 texts)
And the flash of un-rendered tags is very visible during page loads. It's slow and looks real bad.
Hello, thank you for the great plugin!
I found one corner case of FormattedMessage rich text feature usage. Rich text replacements applied on runtime, instead of build time. This could be critical for SEO optimization and for page loading speed.
For example you have
FormattedMessage
like:And translation:
After build this line this line in
index.html
file looks like this :But expected behavior is- render it fully on build time and looks like:
Here I made small reproduce repo:
https://github.com/ixzzd/gatsby-react-intl-formatted-message-repro
Steps to reproduce:
yarn build
public/en/index.html
fileThe text was updated successfully, but these errors were encountered: