mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-26 13:37:50 +08:00
15 lines
339 B
Markdown
15 lines
339 B
Markdown
# About this folder
|
|
This folder will hold all of your **flux** stores.
|
|
You can include them into your components like this:
|
|
|
|
```javascript
|
|
let react = require('react/addons');
|
|
let MyStore = require('stores/MyStore');
|
|
class MyComponent extends React.Component {
|
|
constructor(props) {
|
|
super(props);
|
|
MyStore.doSomething();
|
|
}
|
|
}
|
|
```
|