# ola-ui-jd

> ola-ui 的 jd 业务组件层。

Latest version **1.10.9** (published 2019-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install ola-ui-jd
pnpm add ola-ui-jd
yarn add ola-ui-jd
bun add ola-ui-jd
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.10.9 |
| Published | 2019-06-17 |
| First published | 2018-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 257.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | ola-team |
| Maintainers | pengzhanlee |
| Keywords | react, Web Components |

## Links

- npm: https://www.npmjs.com/package/ola-ui-jd
- Repository: http://git.jd.com/ola-team/ola-ui-jd
- npm.io page: https://npm.io/package/ola-ui-jd

## Dependencies (6)

- [redux](https://npm.io/package/redux.md) ^4.0.0
- [immutable](https://npm.io/package/immutable.md) ^3.8.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.10
- [redux-saga](https://npm.io/package/redux-saga.md) ^1.0.0
- [ola-toolkit](https://npm.io/package/ola-toolkit.md) ^1.2.1
- [react-autosuggest](https://npm.io/package/react-autosuggest.md) ^9.3.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.10.9 (latest) — 2019-06-17
- 1.10.2-beta3 (beta) — 2019-03-20
- 1.10.8 — 2019-06-17
- 1.10.7 — 2019-04-09
- 1.10.6 — 2019-04-04
- 1.10.5 — 2019-04-03
- 1.10.4 — 2019-03-25
- 1.10.3 — 2019-03-20
- 1.10.2 — 2019-03-20
- 1.10.2-beta2 — 2019-03-19
- 1.10.2-beta — 2019-03-19
- 1.10.1 — 2019-03-12
- 1.10.0 — 2019-03-08
- 1.10.0-beta4 — 2019-03-08
- 1.10.0-beta3 — 2019-03-08
- … 84 more at https://npm.io/package/ola-ui-jd/versions

## README

# ola-ui-jd

ola-ui 的 jd 业务组件层。

## Install

```bash
yarn add ola-ui-jd
```

## DEV

```bash
yarn build  ## 打包

yarn dev  ## 打包 (watch 模式)
  ```

## Quick Start

添加 reducer

```javascript
import {combineReducers} from 'redux-immutable';
import {reducers as olaReducers} from 'ola-ui-jd';

export default combineReducers({
  
  // ...,

  olaReducers,

  // ...,
});
```

添加 saga

```javascript
import {all, fork} from 'redux-saga/effects';
import {sagas as olaSagas} from 'ola-ui-jd';
import createSagaMiddleware from 'redux-saga';

export function* initSagas() {
  yield all([
    // ...,
    fork(olaSagas),
    // ...,
  ]);
}

// run saga middleware with sagas
const sagaMiddleware = createSagaMiddleware();
sagaMiddleware.run(initSagas);
```

调用组件

```javascript
import React, {Component} from 'react';
import {SomeComponent} from 'ola-ui-jd';

export default class MyComponent extends Component {

  render() {
    return <SomeComponent />;
  }

}
```

---
_Source: https://npm.io/package/ola-ui-jd · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
