Stefan Baumgartner

Web ops, performance and front-end

List of articles

TypeScript: Built-in generic types

TypeScript comes with a ton of built in generic types that ease your development workflow. Here’s a list of all built-in generics, with examples!

Read more

TypeScript: Type predicates

Type predicates in TypeScript help you narrowing down your types based on conditionals. They’re similar to type guards, but work on functions. They way the work is, if a function returns true, change the type of the paramter to something more useful.

Read more

JSX is syntactic sugar

If you follow me you know that I’m super late to the React game. It was not until functional components showed up that I got really interested in the framework. I just loved the idea of having everything wrapped in an easy function rather than needing to navigate up and down a class to get everything together. One thing that put me off in the beginning though was JSX. And I’m sure I’m not the only one. Every time I talk to people about my newly found React love, this point comes up constantly.

Read more

TypeScript and React Guide: Added a new hooks chapter

Hooks are a new feature in React that I personally find pretty exciting. Shortly after their release in React 16.7., people started developing TypeScript typings via DefinitelyTyped. They’re pretty good, as you don’t have to do much to get all the type safety you need. I put together a little list of things to consider for all hook types in my TypeScript + React guide.

Check it out

More articles about TypeScript

Getting your CfP application right

We just started the Call for Presentations for the upcoming DevOne conference, and I couldn’t be more excited. Last year’s proposals where excellent and a great addition to our line-up. And by looking at the people who already registered interest, I’m sure that there’s a ton of great stuff coming up.

Read more

FAQ on our Angular Connect Talk: Automating UI development

I’m writing these lines as I fly back from an excellent Angular Connect. I started public speaking a couple of years ago, and this particular talk will be one I’m going to remember for a long time. I think it’s easily on par with my most favourite speaking experience that I had back in 2013 with Breaking Development.

Read more

TypeScript and Substitutability

When starting with TypeScript it took not much time to stumble upon some of the type system’s odds. Odds that make a lot of sense if you take a closer look. In this article I want to show you why and how in some cases, TypeScript allows non-matching method signatures.

Read more

Debugging Node.js apps in TypeScript with Visual Studio Code

When developing, there’s three things that I absolutely enjoy:

Read more

From Medium: Deconfusing Pre- and Post-processing

This post was originally published on Medium in 2015. I decided to carry it over to my blog to keep it safe

Read more

From Medium: PostCSS misconceptions

This post was originally published on Medium in 2015. I decided to carry it over to my blog to keep it safe

Read more