2dbi
Home/Retool/Dependency-Graph Evaluator for Reactive Expressions
RRetool·DSAEngineerOnsite – Coding 1

Dependency-Graph Evaluator for Reactive Expressions

Problem

Retool components reference each other via expressions. Given bindings, compute evaluation order, recompute dependents on change, and detect cycles.

Example

B = A+1, C = B*2; A changes -> recompute B then C

Constraints

  • Detect circular references

What Retool looks for

Reported Retool question. Build a dependency DAG, topological recompute, cycle detection — the heart of Retool's reactive engine.

added 6 days ago
LeadersAccount