Installation
- npm
- Yarn
npm install --save effector
For deno
Import effector.mjs
from any CDN
import {createStore} from 'https://unpkg.com/effector/effector.mjs'
since
effector 21.0.0
Complementary packages
For react
- npm
- Yarn
npm install --save effector-react
For vue
- npm
- Yarn
npm install --save effector-vue
For svelte
Svelte works with effector out of the box, no additional packages needed. See word chain game application written with svelte and effector.
Compatibility
since
effector 20.1.0
Use effector/compat
, effector-react/compat
and effector-vue/compat
modules to support IE11 and Chrome 47 (Smart TV browser) without babel.
- import {createStore} from 'effector'
+ import {createStore} from 'effector/compat'