How it works...

Our first view is going to be a blue circle with the label Click me!:

If we hover over the circle, we are going to see the pose animation, which increases the scale of the circle:

Finally, if we click on the circle, we are going to see the that our circle change its background color randomly:

Get React Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.