Which package?
react-intl@6.2.10
Describe the bug
just using the useIntl hook produces the following warning:
Avoid referencing unbound methods which may cause unintentional scoping of `this`.
If your function does not access `this`, you can annotate it with `this: void`, or consider using an arrow function instead.
To Reproduce
const { formatMessage } = useIntl()
Expected behavior
No warnings.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
react-intl version: 6.2.10