Read more stories on Hashnode
Articles with this tag
When to use the id attribute
The id attribute is arguably one of the most popular attributes used in HTML, second only to the class attribute. It serves a lot of purposes, which...
What state should be stored in the URL
The URL can be a powerful tool for sharing and managing the state of an app, but it's often overlooked or misunderstood. When properly done, the...
How to sort arrays reliably in TypeScript
Why you should never rely on the default sort · Let's say you have an array of numbers and need to sort them; it's easy to just call .sort() and be on...
How to render a form with an external submit button
There should be at least two ways for any user to submit a form. Pointer users should be able to press a submit button, and keyboard users should be...