July 2018
Intermediate to advanced
402 pages
9h 35m
English
The idea of a "pure" component is that its whole state is represented by its inputs, where all inputs are immutable. This is effectively a stateless component, but additionally, all the inputs are immutable.
I like to call such components "pure" because their behaviour can be compared to the concept of pure functions in functional programming. A pure function is a function which has the following properties:
With pure components, we have a simple guarantee. A pure component will never change without its input ...