⬅️ Back to
Tooling + References
Typescript paths with ts-node, ts-node-dev, and jest
Working with large TypeScript codebases often leads to importing a lot of stuff from other modules via relative paths. Imagine something like the following: While this isn't a severe problem in smaller projects, navigating through a jungle of relative paths can get quite annoying over time.
Good advice on JSX conditionals
Conditional rendering is a cornerstone of any templating language. React / JSX bravely chose not to have a dedicated conditional syntax, like ng-if="condition", relying on JS boolean operators instead: Courageous, but not always as intuitive as you'd expect. Time after time I shoot myself in the foot with JSX conditionals.
Professional TypeScript Training by Matt Pocock
Learn how to use TypeScript to level-up your applications as a web developer through exercise driven self-paced workshops and tutorials hosted by TypeScript wizard Matt Pocock.
News + Updates
Why React Re-Renders
In React, we don't update the DOM directly, we tell React what we want the DOM to look like, and React tackles the rest. But how exactly does it do this? In this tutorial, we'll unpack exactly when and why React re-renders, and how we can use this information to optimize the performance of our React apps.