fix nits
This commit is contained in:
@@ -61,6 +61,8 @@ So the workflow is as follows:
|
|||||||
6. Enjoy translated app!
|
6. Enjoy translated app!
|
||||||
|
|
||||||
### Common pitfalls
|
### Common pitfalls
|
||||||
|
These pitfalls are memoization pitfalls that will cause the components to not re-render when the locale is changed -- causing for stale translations to be shown.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { msg } from "@lingui/macro";
|
import { msg } from "@lingui/macro";
|
||||||
import { i18n } from "@lingui/core";
|
import { i18n } from "@lingui/core";
|
||||||
|
|||||||
Reference in New Issue
Block a user