A Vite plugin for live-editing arbitrary JavaScript applications
Note: Node server integration is currently not implemented.
- Parse and render the comprehensive demo code as a graph
- Replace every variable with a monitorable value in a global store
- Primitives have getter/setter
- Objects have Proxies
- Functions have wrappers
- Each graph has a pool that indicates the possible global state values that it can hook into, as well as a flow that represents the actual flow of information.
- Each of these is a node with source declaration + value + an onCodeChange callback that recompiles the whole tree + next + previous