Gloria Asuquo is a Developer Advocate🥑 and Front-end developer. She is passionate about sharing her knowledge of open source, web development and encourages the adoption of tech as a career.
Bundle size of typescript-json is extremely small (as it works only in compilation process) and generated code by typescript-json not such small. Therefore, I think it does not effect on initial page loading unless you've defined typescript-json function calling code over thousands of times.
i reading document of this package and it is easy to learn . thank you
Gonna read this later
This is so educative
Interesting, are you using TypeScript transformers to generate the validation objects during compilation?
Yes, utilizing
ttypescriptGood post
So basically this library is faster than the native stringify because it's defining a schema ahead of time?
If so, I'm curious how this would work with applications with large amount of data. Would it slow down the initial page load?
Bundle size of
typescript-jsonis extremely small (as it works only in compilation process) and generated code bytypescript-jsonnot such small. Therefore, I think it does not effect on initial page loading unless you've definedtypescript-jsonfunction calling code over thousands of times.Gonna read this later
As I've promised, wrote an article introducing how to use
typiainNestJS.dev.to/samchon/nestia-boost-up-you...
can it be use with normal javascript???
Not possible in pure JavaScript. However, detour way like building reusable functions in TypeScript and importing them in JavaScript is possible.
thank you!
Can it be use with JavaScript + JSDocs?
TypeScript only