Skip to content

Flux

A tiny reactive state library.

Properties

State Module

luau
Flux.State: State

Util Module

luau
Flux.Util: Util

Functions

state

luau
Flux.state<T>(initial: T?): State.State<T>

Creates a state holding initial.

Call the state to read it, and see State:Connect for reacting to changes.

isState from State

luau
Flux.isState(value: any): boolean

Reports whether value is a state.