Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/madx/elfi

An elegant state container for your JavaScript applications
https://github.com/madx/elfi

javascript-library react redux state-management

Last synced: about 1 month ago
JSON representation

An elegant state container for your JavaScript applications

Awesome Lists containing this project

README

        

# [![elfi](https://rawgit.com/madx/elfi/master/docs/images/logo.svg)](https://github.com/madx/elfi)

> An elegant state container for your JavaScript applications

[![npm version](https://img.shields.io/npm/v/elfi.svg?style=flat-square)](https://github.com/madx/elfi/master/CHANGELOG.md)
[![npm downloads](https://img.shields.io/npm/dm/elfi.svg?style=flat-square)](https://www.npmjs.com/package/elfi)
[![Join the chat on Discord](https://img.shields.io/discord/433885849227100162.svg)](https://discord.gg/cMkzd4J)

*elfi* is a state container for JavaScript applications. It takes its roots in
libraries such as [Flux][flux] and [Redux][redux], but strives to remain simple
and avoid boilerplate code.

It only takes a few minutes to [learn][doc:guide], works great with
[Immutable.js][immutable] and [React][doc:react], and is easy to extend using
[middleware][doc:middleware].

---

**[Read the documentation][website]**

---

## Install

```console
$ npm install elfi
```

## Usage

**[Read the documentation][doc:guide]**

## Contributing

* ⇄ Pull Requests and ★ Stars are always welcome.
* For bugs and feature requests, please create an issue.
* Pull Requests must ensure that automated checks pass (`$ npm run check`).

## [License](LICENSE)

---

If interested, you can also read the (now quite obsolete) **[initial blog post][blogpost]**.

---

[website]: http://madx.github.io/elfi/
[blogpost]: http://madx.me/articles/a-simpler-alternative-to-flux-and-redux.html
[flux]: https://github.com/facebook/flux
[redux]: https://github.com/reactjs/redux
[immutable]: https://facebook.github.io/immutable-js/
[doc:guide]: docs/guide.md
[doc:middleware]: docs/middleware.md
[doc:react]: docs/react.md