Material design is very cool, so let’s take a stab at its most notable UI element: the ripple button. You can find the source code here, including the CSS files. Code snippets are shown below.
I wanted to experiment with creating a Tabs component, balancing flexibility with a nice-to-use api. The underline under the tabs animates to fit the edges of the selected tab.
You’re often told to not mutate things in React apps. This is really good advice, but it’s not always clear how to actually perform these updates. Let’s clear that up.