Utility functions for LiveView compilation.
LiveView callbacks are generated by Lavash.LiveView.Transformers.CompileLiveView.
This module provides shared helper functions used by that transformer.
Summary
Functions
Collect optimistic state fields — both fields declared optimistic and those implicitly touched by an optimistic action.
Generate actions from optimistic_action macro definitions.
Generate synthetic setter actions for state fields with setter: true or optimistic: true.
Functions
Collect optimistic state fields — both fields declared optimistic and those implicitly touched by an optimistic action.
Generate actions from optimistic_action macro definitions.
Generate synthetic setter actions for state fields with setter: true or optimistic: true.