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.
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.