Add content to TS and Zod (#6225)
* Update types--validation@UNlvRp6k3_RDoTAAIEfJ1.md Add description for Next.JS Types & Validation node comment: Guys you did help me much in the past, so I'm grateful and think u're cool * Types and Validation, add resources title, rm tautology * rm spaces, create single paragraph article * add change to paragraph * Update src/data/roadmaps/react/content/types--validation@UNlvRp6k3_RDoTAAIEfJ1.md --------- Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/6304/head
parent
e7b1be1be5
commit
b1409e6b91
1 changed files with 10 additions and 1 deletions
@ -1 +1,10 @@ |
|||||||
# Types & Validation |
# 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) |
||||||
|
Loading…
Reference in new issue