December 2019
Intermediate to advanced
474 pages
10h 3m
English
The ShallowRenderer from react-test-renderer allows us to render the structure of a component but doesn't show us how a component interacts in certain scenarios, such as when an onClick event is being triggered. To simulate this, we'll use a more complex tool called Enzyme.
Read now
Unlock full access