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
Is your feature request related to a problem? Please describe.
A project that I'm working on has the policy of avoiding props spreading. I couldn't extract keys using this.props.t('somekey') with the current configuration.
Describe the solution you'd like
Allow tFunctionNames to be ['t', 'props.t', 'this.props.t']
Describe alternatives you've considered
Adding a custom i18n name props works for props.t but again this.props.t is not possible.
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A project that I'm working on has the policy of avoiding props spreading. I couldn't extract keys using
this.props.t('somekey')
with the current configuration.Describe the solution you'd like
Allow tFunctionNames to be
['t', 'props.t', 'this.props.t']
Describe alternatives you've considered
Adding a custom i18n name
props
works forprops.t
but againthis.props.t
is not possible.Additional context
The text was updated successfully, but these errors were encountered: