From 8ca3f15aaeba9d668cb288537b01d3fbc99971de Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Wed, 30 Oct 2024 17:28:34 +0200 Subject: [PATCH] fix --- website/docs/tutorials/react-native.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/tutorials/react-native.md b/website/docs/tutorials/react-native.md index 5c4349ff2..528b35a67 100644 --- a/website/docs/tutorials/react-native.md +++ b/website/docs/tutorials/react-native.md @@ -94,7 +94,7 @@ As you can see, it's a simple mailbox application with only one screen. ## Internationalization in React (Native) :::tip TL;DR -There are several ways to render translations: You may use the [`Trans`](/docs/ref/macro.mdx#trans) macro or the [`useLingui`](/docs/ref/macro.mdx#uselingui) hook together with the [`t`](/docs/ref/macro.mdx#t) or [`msg`](/docs/ref/macro.mdx#definemessage) macros. When you change the active locale or load new messages, all components that consume the Lingui context provided by [`I18nProvider`](/docs/ref/react.md#i18nprovider) will re-render, making sure the UI shows the correct translations. +There are several ways to render translations: You may use the [`Trans`](/docs/ref/react.md#trans) component or the [`useLingui`](/docs/ref/react.md#uselingui) hook together with the [`t`](/docs/ref/macro.mdx#t) or [`msg`](/docs/ref/macro.mdx#definemessage) macros. When you change the active locale or load new messages, all components that consume the Lingui context provided by [`I18nProvider`](/docs/ref/react.md#i18nprovider) will re-render, making sure the UI shows the correct translations. ::: Not surprisingly, this part isn't too different from the [React tutorial](/docs/tutorials/react.md).