diff --git a/src/data/roadmaps/react/content/types--validation@UNlvRp6k3_RDoTAAIEfJ1.md b/src/data/roadmaps/react/content/types--validation@UNlvRp6k3_RDoTAAIEfJ1.md index deca2e57d..c1c9c49ef 100644 --- a/src/data/roadmaps/react/content/types--validation@UNlvRp6k3_RDoTAAIEfJ1.md +++ b/src/data/roadmaps/react/content/types--validation@UNlvRp6k3_RDoTAAIEfJ1.md @@ -1 +1,10 @@ -# Types & Validation \ No newline at end of file +# Types & Validation + +**Typescript** provides a static type system that helps you in avoiding mistakes during the development and provides other features (e.g. IDE support) that help you improve your productivity. + +One thing you should note is that TypeScript can only help you avoid mistakes during the development. We can't rely on it to validate a client's input. **Zod** is a powerful validation library that allows us to validate: form input, local storage, API contracts and much more using their typesafe implementation. + +Visit the following resources to learn more: + +- [@article@What is TypeScript and why would I use it in place of JavaScript?](https://stackoverflow.com/questions/12694530/what-is-typescript-and-why-would-i-use-it-in-place-of-javascript) +- [@article@When Use Zod](https://www.totaltypescript.com/when-should-you-use-zod)