Variant
Better discriminated unions in TypeScript
Intuitive
Variant was designed with minimal friction in mind. With little boilerplate and no dependencies, write your types freely and use them anywhere.
Powerful
Out of the box support for generic, async, and recursive variants. The ability to create subsets and combinations. Tools for conditional rendering and property matrices
Type Safe
Variant is pure TypeScript and built on top of existing patterns. Works seamlessly with redux, type narrowing, and async.