libreact
React standard library—must-have toolbox for any React project.
- Most components implement

- Isomorphic - most components work in browser and on server (and some in react-native).
Installation
npm i libreact --save
Usage
Library is modular—you can import each component by its name.
- ``` js
- import {mock} from 'libreact/lib/mock';
- // or
- import {mock} from 'libreact/modules/mock';
- const MyComponent = mock();
- ```
Contents
- [mock()](./docs/en/mock.md) and [loadable()](./docs/en/loadable.md) — [example](https://codesandbox.io/s/j2ovpr03z3)
- [lazy()](./docs/en/lazy.md) and [delayed()](./docs/en/delayed.md)
- [`
`](./docs/en/State.md) and [`withState()`](./docs/en/State.md#withstate-hoc) - [``](./docs/en/Toggle.md), [`withToggle()`](./docs/en/Toggle.md#withtoggle-hoc), and [`@withToggle`](./docs/en/Toggle.md#withtoggle-decorator) — [**example**](https://codesandbox.io/s/zwkl16vv93) - [``](./docs/en/Flipflop.md), [`withFlipflop()`](./docs/en/Flipflop.md#withflipflop-hoc), and [`@withFlipflop`](./docs/en/Flipflop.md#withflipflop-decorator) - [``](./docs/en/Value.md), [`withValue()`](./docs/en/Value.md#withvalue-hoc), and [`@withValue`](./docs/en/Value.md#withvalue-decorator) - [``](./docs/en/Counter.md), [`withCounter()`](./docs/en/Counter.md#withcounter-hoc) and [`@withCounter`](./docs/en/Counter.md#withcounter-decorator) - [``](./docs/en/List.md), [`withList()`](./docs/en/List.md#withlist-hoc), and [`@withList`](./docs/en/List.md#withlist-decorator) - [`