Components Overview
On top of the core conceptual model, Arez defines a component model driven by annotations.
- Annotate a class with @ArezComponent to define a component.
- Mark observable properties with the @Observable annotation.
- Mark computed properties with the @Memoize annotation.
- Mark observers the @Observe annotation.
- Annotate code that makes changes to observable data with the @Action annotation.
The annotated classes are processed at compilation time to produce a ready to use reactive component. The generated classes are enhanced with required infrastructure required to integrate with the Arez core framework.