- published 0.1.0 7 years ago
Atom contains a value which can change over time. ```js interface Atom<T, A: mixed[]> { deref(): T, reset(value: T): Atom<T>, swap(fn: (currentValue: T, ...args:A) => T, ...args: A): Atom<T>, watch(fn: (newValue: T, oldValue: T) => void): () => vo
published 0.1.0 7 years agoAtom contains a value which can change over time. ```js interface Atom<T, A: mixed[]> { deref(): T, reset(value: T): Atom<T>, swap(fn: (currentValue: T, ...args:A) => T, ...args: A): Atom<T>, watch(fn: (newValue: T, oldValue: T) => void): () => vo
published 0.1.0 7 years agoAtomic is a HOC for reactjs which allows you create a React component subcribed to certain list of atoms. You could do that using 'subscribe' function.
published 1.1.9 5 years agoThis plugin transforms string/jsxText/templates into react-intl FormattedMessage
published 0.0.8 5 years ago- published 0.0.17 2 years ago