Fixing Type Scripts Blindspot: Runtime Typechecking
TypeScript only checks types at compile time. And that means that, invalid data, that doesn t have the fields we think are required, can still break our applications. Learn how to use Zod, Yup, and Joi to fix this problem and go even further to check the contents of the fields at runtime. Code: Zod: Yup: Joi: 00:00 Introduction 00:40 Project setup 03:32 The runtime problem 05:35 Programming defensively 06:14 Using Zod 10:25 Using Yup 12:15 Using Joi 15:00 Outroduction What s my theme Night Wolf black What s that font MonoLisa Jack is also on the React Round Up podcast: Don t forget to su. .., JackHerrington, FixingTypeScript sBlindspot, RuntimeTypechecking, jackherrington, runtimetypecheckingintypescript, runtimetypecheckingtypescript, typescriptruntimetypechecking, typescriptruntimetypecheckinglibrary, typescripttypechecking 20210908 rYXqfSHock
|