Quick introduction
Creating a Sign-in form
Video tutorial
Playground
Key ideas
UI side effects can be connected with state callbacks to:
- single
Validation
states; - group states;
- and also
Predicate
states.
Effect function can have:
- different effect values to be applied for each validity state;
- different delays to be applied for each validity state;
- the target (event target by default) to which the effect is applied and which can be overriden;
- a delay which can be cancelled by a later applied effect with the same effect ID.
Creating a Sign-up form
Video tutorial
Playground
Key ideas
- Parameters
next
anddebounce
; - Canceling and invalidating async predicates;
- “Glued” validations;
- Clearing effects on validation start;
- Playing with timings.