Idea · Aug 18, 2026
Reactive Data Flow Animator
A browser-based classroom tool that takes React hooks or RxJS code and renders an animated graph showing how data flows through the reactive chain, step by step.
What it would do
Students learning React hooks or reactive programming consistently struggle to build a mental model of how state changes propagate through useEffect, useMemo, and useCallback dependencies. The Reactive Data Flow Animator lets an instructor paste a component's code into a web editor, then automatically parses the reactive dependencies and renders an animated directed graph: nodes are state atoms and effects, edges show data flow, and playback controls step through a simulated trigger event. Students click any node to see its current value and which upstream changes caused it to re-run. A shareable link lets students replay the instructor's demo asynchronously. Built on a lightweight parser plus D3 for the animated graph.
Key features
- Paste React hooks or RxJS code and auto-detect reactive dependencies
- Animated directed graph with step-through playback
- Click any node to inspect its value and upstream triggers
- Shareable read-only link for async student review
- Side-by-side code panel highlights the active line during animation