# react-es

> Common code for eSpeakers projects written in React

Latest version **5.8.7** (published 2017-02-16) · eSpeakers license · 0 weekly downloads

## Install

```sh
npm install react-es
pnpm add react-es
yarn add react-es
bun add react-es
```

## 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 | 5.8.7 |
| Published | 2017-02-16 |
| First published | 2017-02-16 |
| Weekly downloads | 0 |
| License | eSpeakers |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| Author | espeakers |
| Maintainers | espeakers |
| Keywords | react, bootstrap3, espeakers |

## Links

- npm: https://www.npmjs.com/package/react-es
- Repository: https://bitbucket.org/espeakers/es
- Homepage: https://bitbucket.org/espeakers/es#readme
- npm.io page: https://npm.io/package/react-es

## Dependencies (11)

- [react](https://npm.io/package/react.md) 0.14.3
- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [react-dd](https://npm.io/package/react-dd.md) 1.0.0
- [react-dom](https://npm.io/package/react-dom.md) 0.14.3
- [dateformat](https://npm.io/package/dateformat.md) 1.0.8
- [browser-jsonp](https://npm.io/package/browser-jsonp.md) ^1.1.1
- [simple-timeago](https://npm.io/package/simple-timeago.md) ^1.0.0
- [react-loose-forms](https://npm.io/package/react-loose-forms.md) ^2.0.0
- [react-dropzone-component](https://npm.io/package/react-dropzone-component.md) ^0.8.1
- [react-pubsub-via-radio.js](https://npm.io/package/react-pubsub-via-radio.js.md) ^1.1.0
- [react-loose-forms.bootstrap3](https://npm.io/package/react-loose-forms.bootstrap3.md) ^1.5.1

## 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

- 5.8.7 (latest) — 2017-02-16

## README

When developing on a local machine run this
```sh
$ npm start
```

When ready to publish a new version. Use [Semantic Versioning](http://semver.org/) to determine the version number.
i.e.
```sh
$ npm run prod-patch  #for bug fixes, cleanup or other backwards-compatible changes
$ npm run prod-minor  #adding new features in a backwards compatable way
$ npm run prod-major  #breaking changes, including things like updating to a react version that has breaking changes
```

## var SortableTable = require("ES/widgets/SortableTable");
```js
...
SortableTable({
  default_sort: {
    sort_col: 0, // by default which column should be sorted
    sort_ascending: true // ascending sort by default?
  },
  table: {
    header: [
      {body: 'date', className: 'date'}, // list out table heads, you can set the className of the cell
      {body: 'name'},
      {body: 'height'}
    ],
    rows: [
      {
        props: {}, // set the props of the "tr" it can be a class, onClick or whatever
        cols: [
          {
            props: {}, // set the props of the "td"
            body: 'Dec 1' // contents of the cell
          },
          {body: 'bob'},
          {
            body: '6 ft',
            sortkey: 6 // sortkey is what will be used in sorting, otherwise it will just sort "body"
          }
        ]
      },
      {
        cols: [
          {body: 'Jan 1'},
          {
            // instead of using "body" you can have a custom render function
            render: function(){
              return dd.b(null, "jim");
            },
            sortkey: "jim" // so we don't break sorting
          },
          {body: '5 ft', sortkey: 5}
        ]
      }
    ]
  }
})
...
```

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