What is reka.js?
mainreka.js is a state management system designed specifically for building no-code editors. It uses an Abstract Syntax Tree (AST) based state system to allow end-users to design complex, stateful UI components.
Key capabilities include:
- AST-based State: Enables users to define components with props, state, and templates (similar to React).
- Portability: Computes a serializable JSON
Viewtree from the state, making it easy to render in any UI framework (React, Vue, Svelte, etc.). - Extensibility: Allows adding custom data to the state via extensions.
- External Functionalities: Exposes arbitrary JavaScript functions to the state/template environment.
- Realtime Collaboration: Supports multiplayer editing via CRDTs (using Yjs).