S0061: reactive bindings may only appear in the main module
Generated from rellum-diagnostics/src/db.rs.
Explanation
The reactive graph has a single entry point. Events, state, and effects define the program's shape and must all live in one place so the compiler can see the complete graph. Distributing reactive bindings across modules would require solving how multiple reactive graphs compose, which Rellum intentionally defers.
Common causes
- declaring an event binding in a non-main module
- declaring a ~ feedback binding in a utility module
Canonical fixes
- move the reactive binding to src/main.rlm
- if the module provides types and functions, keep it - only the reactive wiring belongs in main