react-locale-hot-switch
react-locale-hot-switch copied to clipboard
Small React web app showing how to change the UI language without reloading the page.
After fetching the new locale data, components using `shouldComponentUpdate` (as those using the `React.addons.PureRenderMixin`) may block the update of the components, since they are not aware of the changed context....
Thanks for this great example. I've issues making it work in my own code. Consider: ``` if (!global.Intl) { require.ensure([ 'intl/Intl', 'intl/locale-data/jsonp/en.js' ], function (require) { require('intl/Intl'); require('intl/locale-data/jsonp/en.js'); }); }...