Real-world uses of TypeScript’s utility types
Sam Rose walks us through some real-world usage of TypeScript’s utility types in their day job’s open source codebase to help those new to the language get to grips with this key capability.
Sam Rose walks us through some real-world usage of TypeScript’s utility types in their day job’s open source codebase to help those new to the language get to grips with this key capability.
Our newsletter, The Index has had a full design refresh — root to branch. It’s clearer, easier to subscribe to and a much better reading experience. We’ve also introduced simple, non-intrusive ads to keep Piccalilli sustainable long-term.
Abbey Perini talks about how yes, there is a code angle to maintainable and extensible components, but it's also useful to appreciate the wider context, historical problems and the long term impact of opinions in your code.
Jason Bradberry challenges the ideals of displaying your entire navigation as a cluster of links and presents a case for exploring off-screen menus where the context is right for it.
Number input elements can be rather problematic but if you utilise the step and pattern attributes, they suddenly become a lot more useful.
Big refactors and migrations for key infrastructure like global state are not to be taken lightly. Michelle Barker is here to show us how she did exactly that — migrating from Vuex to Pinia for global state in a huge, single page app — using a pragmatic, considered approach.
Is CSS nesting an exciting new feature or a potential disaster waiting to happen? I note down my worries and prior experience with one of it predecessors: Sass nesting, along with some gotchas native CSS brings with it.
I get asked a lot about what technologies and frameworks we use at the studio, so I thought I’d note them down.
It’s going to be a long time until CSS masonry is ready for us to use in our projects so I’ve got a nice stop-gap here for you that uses composable layouts.
Jason Bradberry shows us what’s possible in the real world with the new CSS text-box-trim capabilities from a designer’s perspective, and gives us a deep dive into the text spacing and alignment problems it solves.