← All repos

flux-standard-action

A human-friendly standard for Flux action objects.

Browse cluster: Operating Systems and Low-Level Systems
104commits
19contributors
2languages

Tech stack & purpose

Flux Standard Action is a specification for standardizing the structure of action objects in Flux applications, designed to make assumptions about action shape consistent across implementations. The project addresses the problem domain of state management and asynchronous action handling in Flux-based architectures by defining a minimal standard with required properties like `type` and optional properties for `payload`, `error`, and `meta`, while treating errors as a first-class concept rather than requiring separate action types. The project is maintained by redux-utilities and is distributed as an npm package that exports utility functions like `isFSA()` and `isError()` to validate action compliance with the standard, written in JavaScript.

Languages

JavaScript
61.6%
TypeScript
38.4%

Contributors