5.1 Advanced Components With States
Welcome back to the course. In this lesson, I’ll show you how to work with component states.
States allow you to create multiple versions of a component and switch between those versions really easily. This can be very useful for creating buttons or form elements, for example. So let’s see how component states work.