Just a quick post here. I love this example from the well known Ryan Florence….
So many tutorials are afraid to dive into real world examples – scared to show you the full complexity of whats required for real world scenarios. Here is a working example of this button (link).
This is no tutorial, just an example but its very helpful to be exposed to this I feel. Perhaps it’s not something you could author yourself initially but it shows you what’s needed to get to ‘production ready’ code. For reference he uses Tailwind CSS (in-line) so it’s very easy to get a handle on everything in one place (no pun intended!)