https://github.com/nylas/component-store-example
An example of the topics covered in Building for Plugins with React & Flux
https://github.com/nylas/component-store-example
Last synced: 8 months ago
JSON representation
An example of the topics covered in Building for Plugins with React & Flux
- Host: GitHub
- URL: https://github.com/nylas/component-store-example
- Owner: nylas
- Created: 2015-07-03T09:22:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-12T00:34:50.000Z (over 10 years ago)
- Last Synced: 2024-11-19T20:46:39.964Z (about 1 year ago)
- Language: CoffeeScript
- Size: 159 KB
- Stars: 180
- Watchers: 17
- Forks: 37
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Building for Plugins with React & Flux
----
This sample code demonstrates the concepts we discussed at [ReactEurope 2015](https://www.youtube.com/watch?v=Uu4Yz2HmCgE) in a small app that implements a message list with a "mark as read" plugin:
1. Using a single, central DataStore to eliminate store interdependencies and allow plugins to modify data in unexpected ways.
2. Using a ComponentStore to dynamically register and inject components at runtime.
3. Isolating the React.Render calls for third-party "unsafe" components.
#### Getting Started
To run the sample project, run the commands below and visit [http://localhost:9001](http://localhost:9001) in your browser.
```
npm install
bower install
grunt connect
```
#### Get in touch!
We'd love your thoughts and feedback. Feel free to email us at `ben@nylas.com` and `evan@nylas.com`. If you think React and Flux are great, we're also [hiring](http://nylas.com/jobs)!
