Effector is a framework-agnostic JavaScript library for modeling application business logic with events, stores, and effects. It targets React, Vue, Svelte, Solid, and Node projects with strong TypeScript typing and a small gzipped bundle.
Overview
Effector helps front-end and full-stack JavaScript teams keep view layers thin by expressing data flow as plain functions and objects instead of classes, decorators, or proxies. Stores stay lightweight, compose freely, and share predictable watch APIs across events and derived state.
The core package integrates with React through a dedicated adapter, offers Vue bindings, and works directly with Svelte or server runtimes without extra ceremony. In-tree type tests reinforce typings, and tree shaking keeps production bundles near tens of kilobytes.
Developers can explore APIs in an online playground with sharing support, attach effector-logger or Redux DevTools for inspection, and read glossary and server-rendering guidance on the documentation site. Initialization happens up front so runtime updates stay fast in large applications.
Key features
- Events, stores, and effects model
- First-class TypeScript typings
- React, Vue, and Svelte adapters
- Tree-shakeable small bundle
- Plain functions without classes
- Playground and DevTools helpers
- Server rendering guidance
Use cases
- Separating UI from business rules
- Shared state across React routes
- Reactive flows in Vue or Svelte apps
- Typed event-driven Node utilities