Neglected Pulse Machine

    effector
    TypeScript icon, indicating that this package has built-in type declarations

    22.3.0 • Public • Published

    ☄️ effector

    Business logic with ease

    Visit effector.dev for docs, guides and examples

    Table of Contents

    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

    npm install effector

    React

    npm install effector effector-react

    Vue

    npm install effector effector-vue

    Svelte

    Svelte works with effector out of the box, no additional packages needed. See word chain game application written with svelte and effector.

    CDN

    Documentation

    For additional information, guides and api reference visit our documentation site

    Packages

    Articles

    Community

    Online playground

    You can try effector in our repl

    Code sharing, Typescript and react supported out of the box. REPL repository

    DevTools

    Use effector-logger for printing updates to console, displaying current store values with ui or connecting application to familiar redux devtools


    More examples in documentation

    Learn more

    Support us

    More articles about effector at patreon

    Rate on Openbase

    Contributors


    Dmitry

    💬 💻 📖 💡 🤔 🚇 ⚠️

    andretshurotshka

    💬 💻 📖 📦 ⚠️

    Sergey Sova

    📖 💡 💻 ⚠️ 🤔

    Arutyunyan Artyom

    📖 💡

    Ilya

    📖

    Arthur Irgashev

    📖 💻 💡

    Igor Ryzhov

    📖 💻 💡

    Egor Guscha
    📖

    bakugod
    📖 💡

    Ruslan
    📖 💻 🤔 ⚠️

    Maxim Alyoshin
    📖

    Andrey Gopienko
    📖

    Vadim Ivanov
    📖

    Aleksandr Anokhin
    💻

    Anton Kosykh
    💻

    Konstantin Lebedev
    💡

    Pavel Tereschenko
    💻

    Satya Rohith
    📖

    Vladislav Melnikov
    💻

    Grigory Zaripov
    💻

    Marina Miyaoka
    💻

    Evgeny Zakharov
    📖

    Viktor

    💻 📖 ⚠️ 🤔

    Ivan Savichev

    💻 🤔

    Nikita Nafranets

    📖 💡

    Tauyekel Kunzhol

    📖

    Andrew Laiff

    📖

    Illia Osmanov

    💻 🤔

    Yan

    📖

    Egor Aristov

    📖

    Sozonov

    📖

    Rafael Fakhreev

    💻 🤔 ⚠️

    Victor

    💻 🤔 📖

    Dmitrij Shuleshov

    📖

    Valeriy Kobzar

    💻 🚇 🤔

    Ivan

    💻 ⚠️

    Aleksandr Osipov

    📖 ⚠️

    popuguy

    📖 🚇 🤔

    uulaal

    💻

    Viktor Pasynok

    🚇 💻 ⚠️

    Tested with browserstack

    Install

    npm i effector

    Homepage

    effector.dev

    DownloadsWeekly Downloads

    27,452

    Version

    22.3.0

    License

    MIT

    Unpacked Size

    1.27 MB

    Total Files

    27

    Last publish

    Collaborators

    • drelliot
    • sergeysova
    • lobatik
    • zero_bias