tuix
Version:
A performant TUI framework for Bun with JSX and reactive state management
34 lines (29 loc) • 641 B
text/typescript
/**
* Runes - Svelte-inspired Reactive State Management
*
* This is the new runes system with $bindable support.
* Import from '@cli-kit/runes' to use these instead of the legacy reactivity system.
*/
export {
// Core runes
$state,
$bindable,
$derived,
$effect,
// Types
type Rune,
type StateRune,
type BindableRune,
type DerivedRune,
type BindableOptions,
// Type guards
isRune,
isStateRune,
isBindableRune,
isDerivedRune,
// Utilities
getValue,
toBindable
} from './reactivity/runes'
// Re-export JSX runtime for convenience
export { jsx, jsxs, jsxDEV, Fragment } from './jsx-runtime'