Skip to content

React Router 4 and React-Intl translated routes glued together with Mobx

License

Notifications You must be signed in to change notification settings

jhchill666/react-router-intl-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-router-intl-routing

An example repo demonstrating dynamic translation of the actual uri segments of the address bar.

Although I see a few examples of integrating react-router and react-intl, these by and large, focus on dynamically re-rendering the page content for a chosen language.

This takes this concept a step further, in that it demonstrates how simple it is to also have each uri segment in the address bar translated in your chosen language as well. Examples of this I've not found despite extensive searching!

The example uses Mobx to glue things together, and also create-react-app as a sensible shortcut to get up and running. As create-react-app does not - yet - support decorators or other experimental features not yet widely adopted from babel such as property-initializers, I'm afraid you don't get the sugary sweetness with Mobx.

npm start to get started.

About

React Router 4 and React-Intl translated routes glued together with Mobx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published