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
fluent-react provides a simpler way to use fluent on a React application, but it's laking a built-in function to get messages using react hooks.
Currently is possible to get the messages just using a HOC using withLocalization or with <Localized />.
It's a similar approach that react-i18next already do.
Sometimes is better just to call a function instead of increasing the JSX code wrapping each message with the <Localized /> component. For example, here:
fluent-react
provides a simpler way to use fluent on a React application, but it's laking a built-in function to get messages using react hooks.Currently is possible to get the messages just using a HOC using
withLocalization
or with<Localized />
.It's a similar approach that
react-i18next
already do.Sometimes is better just to call a function instead of increasing the JSX code wrapping each message with the
<Localized />
component. For example, here:Related: #182
The text was updated successfully, but these errors were encountered: