Appendix

Support

Flux Architecture

Inkdrop uses Alt, a slim implementation of Facebook's Flux Application Architecture to coordinate the movement of data through the application. Flux is extremely well suited for applications that support third-party extension because it emphasizes loose coupling and well defined interfaces between components. It enforces:

Actions

In Flux applications, views fire Actions, which anyone in the application can subscribe to. Typically, Stores listen to actions to perform business logic and trigger updates to their corresponding views. For example, when you click "Create New Note" button on the top right corner of the note list bar, the React component for the button fires EditorActions::create. The EditorStore listens to this action and opens a newly created note.

This approach means that your plugins can fire existing Actions, like EditorActions::update, or observe actions to add functionality. You can also define your own actions for use within your plugin with inkdrop.flux.

Can you help us improve these docs?

The source of these docs is here on GitHub. If you see a way these docs can be improved, please fork us!