File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ Localization library for handling translations in [React](https://facebook.githu
22
22
23
23
* Does not require [ Redux] ( https://redux.js.org/ ) , but does provide out of the box support for it.
24
24
* Built on React's native [ Context] ( https://reactjs.org/docs/context.html ) .
25
+ * [ Works with Server Side Rendering] ( https://ryandrewjohnson.github.io/react-localize-redux-docs/#working-with-server-side-rendering ) .
25
26
* [ Include inline default translations] ( https://ryandrewjohnson.github.io/react-localize-redux-docs/#include-inline-default-translations )
27
+ * [ Render React components from translations] ( https://ryandrewjohnson.github.io/react-localize-redux-docs/#react-translations ) .
26
28
* [ Dynamic translations] ( https://ryandrewjohnson.github.io/react-localize-redux-docs/#dynamic-translations )
27
29
* [ HTML translations] ( https://ryandrewjohnson.github.io/react-localize-redux-docs/#html-translations )
28
30
* [ Plus more...] ( https://ryandrewjohnson.github.io/react-localize-redux-docs/#guides )
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import ReactDOMServer from "react-dom/server" ;
3
- import Enzyme , { shallow , mount } from 'enzyme' ;
3
+ import Enzyme , { shallow } from 'enzyme' ;
4
4
import { createStore , combineReducers } from 'redux' ;
5
5
import Adapter from 'enzyme-adapter-react-16' ;
6
6
import { Map } from 'immutable'
Original file line number Diff line number Diff line change @@ -8,14 +8,11 @@ import {
8
8
getTranslationsForActiveLanguage ,
9
9
getTranslationsForSpecificLanguage ,
10
10
translationsEqualSelector ,
11
- setLanguages ,
12
11
getTranslate ,
13
- getTranslateSelector ,
14
12
defaultTranslateOptions ,
15
13
options ,
16
14
localizeReducer
17
15
} from 'localize' ;
18
- import { getLocalizedElement } from 'utils' ;
19
16
import {
20
17
INITIALIZE ,
21
18
SET_ACTIVE_LANGUAGE ,
You can’t perform that action at this time.
0 commit comments