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
Tagged Template Literals allows you to call the function by providing just ticks. This could be leveraged, to make syntax a bit less verbose, when dealing with translations:
<span>{t('key')}</span>
becomes
<span>{t`key`}</span>
This is, of course, a matter of preference, so it probably should be configurable.
The text was updated successfully, but these errors were encountered:
Tagged Template Literals allows you to call the function by providing just ticks. This could be leveraged, to make syntax a bit less verbose, when dealing with translations:
becomes
This is, of course, a matter of preference, so it probably should be configurable.
The text was updated successfully, but these errors were encountered: