The view can store state in fields, can declared lifecycle methods and may contain methods annotated by
the ScheduleRender annotation.
The view will be scheduled to re-render if the views container re-renders and any input has changed
value from last render. The policy selected by Input.equalityComparator() determines whether an
input changed; without an explicit or exact-type default comparator, JavaScript strict equality is used. A view will also
be scheduled to re-render if the view invokes a method annotated by the ScheduleRender annotation.
The view is a STATEFUL view and will re-render the view if any Arez
dependencies change. The framework uses the Observe annotation to track Arez dependencies.
The view must not have a method annotated with Render.
This is useful for "view" instances that provide capabilities or interact
with services and thus need not have a render method.
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.