Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/effector/effector

Business logic with ease ☄️
https://github.com/effector/effector

business-logic effector event-driven reactive state state-management state-manager

Last synced: 5 days ago
JSON representation

Business logic with ease ☄️

Awesome Lists containing this project

README

        



Effector Comet Logo





join gitter
rate on openbase
build status
discord chat
become a patron

# ☄️ effector

Business logic with ease

## Visit [effector.dev](https://effector.dev) for docs, guides and examples

## Table of Contents

- [Introduction](#introduction)
- [Effector follows five basic principles:](#effector-follows-five-basic-principles)
- [Installation](#installation)
- [Documentation](#documentation)
- [Packages](#packages)
- [Articles](#articles)
- [Community](#community)
- [Online playground](#online-playground)
- [DevTools](#devtools)
- [More examples in documentation](#more-examples-in-documentation)
- [Learn more](#learn-more)
- [Support us](#support-us)
- [Contributors](#contributors)

## Introduction

Effector implements business logic with ease for Javascript apps **(React/React Native/Vue/Svelte/Node.js/Vanilla)**, allows you to manage data flow in complex applications. Effector provides best **TypeScript** support _out of the box_.

### Effector follows five basic principles:

- **Application stores should be as light as possible** - the idea of adding a store for specific needs should not be frightening or damaging to the developer.
- **Application stores should be freely combined** - data that the application needs can be statically distributed, showing how it will be converted in runtime.
- **Autonomy from controversial concepts** - no decorators, no need to use classes or proxies - this is not required to control the state of the application and therefore the api library uses only functions and plain js objects
- **Predictability and clarity of API** - a small number of basic principles are reused in different cases, reducing the user's workload and increasing recognition. For example, if you know how .watch works for events, you already know how .watch works for stores.
- **The application is built from simple elements** - space and way to take any required business logic out of the view, maximizing the simplicity of the components.

## Installation

> You can use any package manager

```bash
npm add effector
```

**React**

To getting started read our article [how to write React and Typescript application](https://effector.dev/docs/typescript/usage-with-effector-react).

```bash
npm add effector effector-react
```

**SolidJS**

```bash
npm add effector effector-solid
```

**Vue**

```bash
npm add effector effector-vue
```

**Svelte**

Svelte works with effector out of the box, no additional packages needed. See [word chain](https://github.com/today-/citycatch) game application written with svelte and effector.

**CDN**

- https://www.jsdelivr.com/package/npm/effector
- https://cdn.jsdelivr.net/npm/effector/effector.cjs.js
- https://cdn.jsdelivr.net/npm/effector/effector.mjs
- https://cdn.jsdelivr.net/npm/effector-react/effector-react.cjs.js
- https://cdn.jsdelivr.net/npm/effector-vue/effector-vue.cjs.js

## Documentation

For additional information, guides and api reference visit [our documentation site](https://effector.dev/docs/introduction/core-concepts)

## Packages

- [effector](https://effector.dev/docs/api/effector)
- [effector-react](https://effector.dev/docs/api/effector-react)
- [effector-vue](https://effector.dev/docs/api/effector-vue)

## Articles

- [Why I choose Effector instead of Redux or MobX](https://dev.to/lessmess/why-i-choose-effector-instead-of-redux-or-mobx-3dl7)
- [Effector — State Manager You Should Give a Try](https://itnext.io/effector-state-manager-you-should-give-a-try-b46b917e51cc)
- [Effector vs. Vuex. Which storage management is better for VueJS app?](https://medium.com/blue-harvest-tech-blog/effector-vs-vuex-which-storage-management-is-better-for-vuejs-app-54f3c3257b53)
- [Powerful and fast state manager](https://codeburst.io/effector-state-manager-6ee2e72e8e0b)
- [Testing api calls with effects and stores](https://www.patreon.com/posts/testing-api-with-32415095)
- [Effector's beginner guide](https://dev.to/yanlobat/effector-s-beginner-guide-3jl4)
- [The best part of Effector](https://dev.to/effector/the-best-part-of-effector-4c27)

## Community

- [official](https://community.effector.dev)
- [awesome-effector](https://github.com/effector/awesome-effector) a curated list of awesome effector packages, videos and articles
- [Twitter](https://twitter.com/effectorjs)
- [Telegram](https://t.me/effector_en) (@effector_en)
- [Telegram 🇷🇺](https://t.me/effector_ru) (@effector_ru)
- [dev.to](https://dev.to/effector)
- [Discord](https://discord.gg/yHcMcuRWeC)
- Add a [GitHub Topic `effector`](https://github.com/topics/effector) to your project's home page

## Online playground

You can try effector with [online playground](https://share.effector.dev)

Code sharing, Typescript and react supported out of the box. [Playground repository](https://github.com/effector/repl)

## DevTools

Use [effector-logger](https://github.com/effector/logger) for printing updates to console, displaying current store values with ui or connecting application to familiar redux devtools


## More examples [in documentation](https://effector.dev/docs/introduction/examples)

## Learn more

- [Glossary](https://effector.dev/docs/glossary)
- [Usage with TypeScript](https://effector.dev/docs/typescript/typing-effector)
- [API docs](https://effector.dev/en/api/effector/effector)
- [Changelog](https://changelog.effector.dev)

## Support us

- Read more articles on [a patreon page](https://www.patreon.com/zero_bias/overview)
- Donate [on OpenCollective](https://opencollective.com/effector)
- Be a sponsor [on Github Sponsors](https://github.com/sponsors/effector)

Your support allows us to improve the developer experience 🧡.

## Contributors



Dmitry/


Dmitry




andretshurotshka/


andretshurotshka




Sova/


Sova




Alexander


Alexander Khoroshikh




popuguy/


popuguy




Igor


Igor Kamyşev



Egor/


Egor




Valeriy


Valeriy Kobzar




Yan/


Yan




Ruslan


Ruslan @doasync




Illia


Illia Osmanov




mg901/


mg901



Igor


Igor Ryzhov




Arthur


Arthur Irgashev




Viktor/


Viktor




Ilya/


Ilya




Ainur/


Ainur




Arutiunian


Arutiunian Artem



Ilya


Ilya Olovyannikov




Dmitrij


Dmitrij Shuleshov




Ivan


Ivan Savichev




Nikita


Nikita Nafranets




Aleksandr


Aleksandr Osipov




bakugod/


bakugod



Mikhail


Mikhail Kireev




Зухриддин


Зухриддин Камильжанов




Victor


Victor Didenko




Mikhail


Mikhail Krilov




Viktor


Viktor Pasynok




Kirill


Kirill Mironov



Andrei/


Andrei




Ivan/


Ivan




Ivanov


Ivanov Vadim




sergey20x25/


sergey20x25




Nikita


Nikita Kungurcev




Filipkin


Filipkin Denis



Dan/


Dan




Bohdan


Bohdan Petrov




Bartłomiej


Bartłomiej Wendt




Andrei


Andrei Antropov




☃︎/


☃︎




xaota/


xaota



cqh/


cqh




Aldiyar


Aldiyar Batyrbekov




Vladimir


Vladimir Ivakin




Victor/


Victor




Tauyekel


Tauyekel Kunzhol




Ivan/


Ivan



Sozonov/


Sozonov




Samir/


Samir




Renat


Renat Sagdeev




Kirill/


Kirill




Denis


Denis Sikuler




Arsen-95/


Arsen-95



Anton


Anton Yurovskykh




Anton


Anton Kosykh




Aleksandr


Aleksandr Belov




The


The Gitter Badger




Usman


Usman Yunusov




Vasili


Vasili Sviridov



Vasili


Vasili Svirydau




Victor


Victor Kolb




Vladislav/


Vladislav




Vladislav


Vladislav Melnikov




Vladislav


Vladislav Botvin




Will


Will Heslam



Simon


Simon Muravev




Shiyan7/


Shiyan7




Sergey


Sergey Belozyorcev




Satya


Satya Rohith




Roman


Roman Paravaev




Roman/


Roman



Robert


Robert Kuzhin




Raman


Raman Aktsisiuk




Rachael


Rachael Dawn




xxxxue/


xxxxue




vladthelittleone/


vladthelittleone




Vladimir/


Vladimir



roman/


roman




Marina


Marina Miyaoka




lightningmq/


lightningmq




Kirill


Kirill Leushkin




kanno/


kanno




Ilya/


Ilya



ilfey/


ilfey




Houston


Houston (Bot)




Grigory


Grigory Zaripov




dmitryplyaskin/


dmitryplyaskin




Stanislav/


Stanislav




ansunrisein/


ansunrisein



Anatoly


Anatoly Kopyl




Yesset


Yesset Zhussupov




Rasul


Rasul




Ed


Ed Prince




Dmitry


Dmitry Dudin




Dmitry/


Dmitry



Denis


Denis Skiba




Dinislam


Dinislam Maushov




Ayu/


Ayu




David/


David




BlackPoretsky/


BlackPoretsky




Александр/


Александр



Alexander/


Alexander




Alex


Alex Anokhin




Aleksei/


Aleksei




Alex


Alex Arro




Aleksandr


Aleksandr Grigorii




Abel


Abel Soares Siqueira



7iomka/


7iomka




Abdukerim


Abdukerim Radjapov




0xflotus/


0xflotus




bigslycat/


bigslycat




Pavel


Pavel Hrakovich




Oleh/


Oleh



Oleg/


Oleg




Mike


Mike Cann




Nikita


Nikita Svoyachenko




Ludovic


Ludovic Dem




Leniorko/


Leniorko




Lebedev


Lebedev Konstantin



Joel


Joel Bandi




Jesse


Jesse Jackson




Jan


Jan Keromnes




Ivan/


Ivan




Infant


Infant Frontender




Ilya


Ilya Martynov



Gleb


Gleb Kotovsky




Gabriel


Gabriel Husek




Edward


Edward Gigolaev

[![Tested with browserstack](https://raw.githubusercontent.com/effector/effector/master/website/media/Browserstack-logo.svg?sanitize=true)](https://BrowserStack.com)