Giter Site home page Giter Site logo

egorguscha / effector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from effector/effector

0.0 0.0 0.0 73.01 MB

The state manager ☄️

Home Page: https://effector.dev

License: MIT License

Shell 0.03% JavaScript 8.09% CSS 0.29% Dockerfile 0.04% TypeScript 91.56%

effector's Introduction

☄️ effector

The state manager

Visit effector.dev for docs, guides and examples

Table of Contents

Introduction

Effector is an effective multi-store state manager for Javascript apps (React/React Native/Vue/Node.js), that allows you to manage data in complex applications without the risk of inflating the monolithic central store, with clear control flow, good type support and high capacity API. Effector supports both TypeScript and Flow type annotations 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 from a 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

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

effector's People

Contributors

abliarsar avatar aldibatyr avatar allcontributors[bot] avatar artalar avatar bakugod avatar binjospookie avatar bloadvenro avatar dependabot[bot] avatar dimensi avatar doasync avatar dpr-dev avatar egorguscha avatar goodmind avatar hexagon141 avatar igorkamyshev avatar ilajosmanov avatar ivanov-v avatar kobzarvs avatar komar0ff avatar laiff avatar mg901 avatar oas89 avatar popuguytheparrot avatar sergeysova avatar spoki4 avatar tehsly avatar victordidenko avatar yanlobat avatar zarabotaet avatar zerobias avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.