<commit_before>
Sails React

## Installation

```sh
$ npm install sails-react-store sails-hook-babel --save
```

## Usage
### for record's collection
```
"use strict";
import React from 'react'
import {ReactItem, ReactCollection} from 'sails-react-store'

export class PostItem extends ReactItem {
  render() {
    return (
      <div className="post">
        <h5 className="post-title">{this.props.item.title}</h5>
        <p className="post-content">{this.props.item.content}</p>
      </div>
    )
  }
}

export class PostCollection extends ReactItem {
  render() {<commit_msg>readme : add dependencies<commit_after>
Sails React

## Installation
You need sais.io.socket and sails-hook-babel

```sh
$ npm install sails-react-store sails-hook-babel --save
```

## Usage
### for record's collection
```
"use strict";
import React from 'react'
import {ReactItem, ReactCollection} from 'sails-react-store'

export class PostItem extends ReactItem {
  render() {
    return (
      <div className="post">
        <h5 className="post-title">{this.props.item.title}</h5>
        <p className="post-content">{this.props.item.content}</p>
      </div>
    )
  }
}

export class PostCollection extends ReactItem {
  render() {
{'fraction_non_alphanumeric': 0.1468416735028712, 'fraction_numerical': 0.003281378178835111, 'mean_word_length': 3.6743295019157087, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6731530', 'n_tokens_mistral': 400, 'n_tokens_neox': 381, 'n_words': 97}