Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
translate hoc (react-i18next) cause component not able to SSR
  • Loading branch information
joehua87 authored Mar 17, 2018
1 parent 17148c0 commit dcf57b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/blog/2017-10-17-building-i18n-with-gatsby/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ exports.replaceRenderer = ({ bodyComponent, replaceBodyHTMLString }) => {
}
```

> `translate` hoc from react-i18next cause page / component not able to SSR. I make it works by import i18n & use i18n.t
## Finishing up

As you can see, i18n in Gatsby is actually pretty simple when you know how! We
Expand Down

0 comments on commit dcf57b6

Please sign in to comment.