illustration for Domain Data Modeling using TypeScript Aliases, Brand Types and Value Objects
pro

Domain Data Modeling using TypeScript Aliases, Brand Types and Value Objects

Instructor

Tomasz Ducin

30m closed-captioning
·
10 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.8
83
people completed
Published 6 months ago
|
Updated 4 months ago

The reason we use TypeScript is so that it can catch inadvertant bugs you or your teammate will inevitable make whether that's passing the wrong prop to a component or assuming the data coming in is of a certain type (or there at all!).

Simply using TypeScript and it's primitive types isn't enough to stop sneaky bugs from pestering you.

e.g. you wouldn't treat an email and a user Id that are both strings the same way, even though TypeScript wouldn't differentiate the two.

As your project matures, you need a type system that will mature with it so you can be confident in the code you ship.

This course addresses your code from a data modeling perspective and gives you tools to incrementally build models that make sense for your application.

You can introduce each pattern step by step and maximize the benefits you get from them.

Course Content

30m • 10 lessons

    You might also like these resources:

    illustration for Advanced Static Types in TypeScript
    Marius Schulz・1h7m・Course

    Explore the capabilities of TypeScript’s type system and learn how to use advanced static types in practice.

    illustration for Advanced TypeScript Fundamentals
    Marius Schulz・1h20m・Course

    Learn the newest language features TypeScript has to offer. Learn how to use optional chaining, const assertions, conditional types, and more!