Reactive Components
Last updated
Was this helpful?
Reactivity means that components can "talk" to each other. When a user interacts with one component (like selecting a row in a Data Table), other components on the page can automatically update to reflect that change. This creates a much more dynamic and intuitive user experience than static pages.
Simplified Development: You don't need to write complex code or formulas to connect components.
Responsive Interface: The UI feels "alive" and instantly reflects changes.
Data Consistency: Automatic updates ensure that all components display consistent information.
Easier Maintenance: Changes in one place automatically propagate, reducing errors
Avonni Dynamic Components make reactivity simple. It's all about connecting components through their data.
Here are the key concepts.
The Avonni Query Data Source is the foundation for reactivity. It's designed to:
Support Dynamic Filtering: Filters can depend on values within your Dynamic Component, including attributes of other components.
Automatically Re-query: When a referenced value changes, the query automatically re-executes, updating the connected component.
Efficient Updates: Optimized for frequent data changes.
You create these dynamic links using direct attribute referencing. This is a simple, visual way to connect components without writing complex formulas.
Last updated
Was this helpful?
Was this helpful?
