A Molecular State
Quick Start!Atomic
Stores are wrapped in atoms. Atoms control the lifecycle and visibility of application state.
Molecular
Atoms talk to each other. These connections form a graph. Ecosystems control and manipulate the graph.
Composable
Composable atoms and selectors create a dynamic architecture. Composable stores make state modular and flexible.
State Engine
Like an engine that provides the right amount of power to each component, Zedux provides tools for every situation.
As Simple As
import { atom, useAtomState } from '@zedux/react'
const greetingAtom = atom('greeting', 'Hello, World!')
function Greeting() {
const [greeting] = useAtomState(greetingAtom)
return <div>{greeting}</div>
}
More examples on The examples page
Learn Zedux