Replies: 3 comments
|
I'm using it on frontend to validate data coming from out-of-repo sources that are not checkable statically. When the data to be validated comes form a 3rd-party with an @types/ package published, Typia is much nicer than recreating the 3rd-party's types in something like Zod. |
|
I have settled on Valibot afterall |
|
typia can be used in frontend applications. The important boundary is build-time transformation, not whether the final bundle runs in a browser. A frontend setup is fine when every Since the original author settled on another validator and there is no typia-side action left here, closing as answered. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey guys, I'm about to start using Typia on my Front-end application. I've successfully set it up, and it works on a single use case with the Rspack plugin.
Now, as far as I can see - from the GitHub discussions - Typia is mainly used on the Backend/Server.
Is there any reason not to use it on a Front-end (ESM)?
I also saw that Typia won't be ESM first in this issue which is odd but reasonable.
All reactions