Fluxy
Fundamentals

Performance Model

How Fluxy achieves lightning fast rebuilds.

Performance Model

Fluxy is designed for maximum efficiency. Understanding its performance model helps you build smoother applications.

Atomic Rebuilds

In standard Flutter, calling setState rebuilds the entire widget subtree. In Fluxy, only the specific value-listener is triggered.

Comparison

OperationFlutter StandardFluxy
State ChangeFull widget rebuildAtomic element update
Tree DepthAffects performanceNegligible impact
Layout PassFull subtreeTargeted

Render Optimization

Fluxy uses a custom ReactiveElement that intercepts changes and only marks the minimal necessary nodes for redrawing.

Best Practices for Performance

  1. Keep Signals Granular: Use multiple small signals instead of one large object signal.
  2. Use Computed: Avoid doing heavy calculations inside the build method.
  3. Const Wrappers: Use standard const constructors for static parts of your UI.

On this page