Skip to content

Commit dbc1db9

Browse files
update docs, and cleanup some files
1 parent 5dc0909 commit dbc1db9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Localization library for handling translations in [React](https://facebook.githu
2222

2323
* Does not require [Redux](https://redux.js.org/), but does provide out of the box support for it.
2424
* 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).
2526
* [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).
2628
* [Dynamic translations](https://ryandrewjohnson.github.io/react-localize-redux-docs/#dynamic-translations)
2729
* [HTML translations](https://ryandrewjohnson.github.io/react-localize-redux-docs/#html-translations)
2830
* [Plus more...](https://ryandrewjohnson.github.io/react-localize-redux-docs/#guides)

tests/LocalizeProvider.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import ReactDOMServer from "react-dom/server";
3-
import Enzyme, { shallow, mount } from 'enzyme';
3+
import Enzyme, { shallow } from 'enzyme';
44
import { createStore, combineReducers } from 'redux';
55
import Adapter from 'enzyme-adapter-react-16';
66
import { Map } from 'immutable'

tests/localize.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ import {
88
getTranslationsForActiveLanguage,
99
getTranslationsForSpecificLanguage,
1010
translationsEqualSelector,
11-
setLanguages,
1211
getTranslate,
13-
getTranslateSelector,
1412
defaultTranslateOptions,
1513
options,
1614
localizeReducer
1715
} from 'localize';
18-
import { getLocalizedElement } from 'utils';
1916
import {
2017
INITIALIZE,
2118
SET_ACTIVE_LANGUAGE,

0 commit comments

Comments
 (0)