Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for universal apps / server-side rendering #52

Merged
merged 1 commit into from Apr 1, 2016

Conversation

@loudwinston
Copy link

loudwinston commented Mar 30, 2016

CHANGE SUMMARY

  • Add loadNamespaces method that iterates through components, discovering and loading namespaces that are declared using @translate. Works very similarly to redux-async-connect. Designed be used with react-router match method.
  • Add namespaces property to Translate wrapper returned by @translate.
@loudwinston loudwinston force-pushed the loudwinston:universal-rendering branch from 099521e to 8d24c82 Mar 30, 2016
- Add `loadNamespaces` method that iterates through components, discovering and loading namespaces that are declared using `@translate`
- Add `namespaces` property to `Translate` wrapper returned by `@translate`.
@loudwinston loudwinston force-pushed the loudwinston:universal-rendering branch from 8d24c82 to d7d21f4 Mar 30, 2016
@jamuhl

This comment has been minimized.

Copy link
Member

jamuhl commented Mar 31, 2016

excellent...will have a look later and merge / publish asap. thanks a lot...

@jamuhl jamuhl merged commit b3f950b into i18next:master Apr 1, 2016
@jamuhl

This comment has been minimized.

Copy link
Member

jamuhl commented Apr 1, 2016

in react-i18next@1.3.0...thanks again

@loudwinston

This comment has been minimized.

Copy link
Author

loudwinston commented Apr 1, 2016

No problem @jamuhl !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.