Comment by teaearlgraycold
1 day ago
Don’t use a library unless you really need it. Someone recently recommended I add Zod to a project where I am only validating two different JSON objects in the entire project. I like Zod, but I already wrote the functions to progressively prove out the type in vanilla JS.
Less is more, including other people’s libraries.
Go Proverb:
A little copying is better than a big dependency.
Agreed.