Next.js: React-intl example

Created on 7 Feb 2017  路  5Comments  路  Source: vercel/next.js

I saw some people wondering how to get react-intl working with Next.js, and so far it worked well in my app: https://github.com/relatenow/relate

So maybe it could be used as inspiration to create an example in the examples folder.

Most helpful comment

I completed the example. This is my first time really digging into Next, so it would be great to get a review here: https://github.com/yahoo/react-intl/pull/844

Also I'm happy to move this example app to this repo. Or if we decide to leave it in React Intl's repo, it would be nice to add least add an examples/react-intl/README.md entry here.

All 5 comments

Also see @ericf's WIP example which does a better job of loading only the active locale client-side: https://github.com/yahoo/react-intl/pull/844

I completed the example. This is my first time really digging into Next, so it would be great to get a review here: https://github.com/yahoo/react-intl/pull/844

Also I'm happy to move this example app to this repo. Or if we decide to leave it in React Intl's repo, it would be nice to add least add an examples/react-intl/README.md entry here.

@ericf looks good! I'd love to have this in the next.js repo 馃憤馃徎馃憤馃徎

@timneutkens @sedubois I opened PR #1055 to add it here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lixiaoyan picture lixiaoyan  路  3Comments

rauchg picture rauchg  路  3Comments

jesselee34 picture jesselee34  路  3Comments

YarivGilad picture YarivGilad  路  3Comments

swrdfish picture swrdfish  路  3Comments