"I'm ashamed I didn't know about this form attribute. In that past I've executed CSS magic tricks to accomplish buttons displaying outside of their form area. Did you know about this attribute?!"
In this post, you'll learn everything you need to know to build a simple web app using only vanillaDOMAPIs including creating new elements, modify existing elements, and hooking all of that up to external data using the fetch API.
Topic of the week: TypeScript
If you’re unfamiliar with TypeScript, it’s a language that builds on JavaScript by adding syntax for type declarations and annotations. And with its recent release, it's getting more powerful than ever. If you haven't already, it's time to hop on board 👐.
This document introduces some easy ways to configure TypeScript to ensure faster compilations and editing experiences. The earlier that these practices can be adopted, the better. Beyond best-practices, there are some common techniques for investigating slow compilations/editing experiences and some common fixes.
"Of course, you can learn and remember all the peculiarities of enums and know quite well how to handle them. But why bother if there is a much clearer and easier way to achieve the same – if not better – type safety entirely in the type system?"