fromjsdevspace.substack.com1 week agoJavaScriptShrink TypeScript Code: Replace Enums with Const ObjectsUse const objects with type aliases instead of enums to keep type safety and IntelliSense while producing smaller JavaScript bundles.
fromInfoQ1 month agoSoftware developmentZod v4 Available with Major Performance Improvements and Introduction of Zod MiniZod v4 significantly improves parsing performance and compilation speed, offers a tiny tree-shakable @zod/mini package, refines APIs, and adds JSON Schema conversion.
fromjsdevspace.substack.com1 week agoJavaScriptShrink TypeScript Code: Replace Enums with Const Objects
fromInfoQ1 month agoSoftware developmentZod v4 Available with Major Performance Improvements and Introduction of Zod Mini