eskimojo

2K posts

eskimojo banner
eskimojo

eskimojo

@eskimojo

Redux Toolkit co-maintainer, and creator of https://t.co/2on2pQNPBH. pfp and banner by @popurri_arts he/him previously @EskiMojo14

Katılım Ağustos 2013
97 Takip Edilen482 Takipçiler
Brandon McConnell
Brandon McConnell@branmcconnell·
@FabianHiller would love to see a direct comparison between valibot and zod mini, since both the APIs and bundle sizes will likely be closer
English
2
0
2
289
Fabian Hiller
Fabian Hiller@FabianHiller·
🚀 Zod users — we need to talk. New Valibot blog just dropped: Why migrate to Valibot? The numbers of Schema Benchmarks are brutal: ✅ 88% smaller bundles (1.91 kB vs 16.57 kB) ✅ 16× faster initialization (54 μs vs 735 μs) Plus cleaner pipelines, precise TypeScript inference, and zero bloat. If you ship to web, edge, or serverless… this one hits different. Read it 👇 then be honest: valibot.dev/blog/why-migra… #TypeScript #Zod #Valibot #WebDev
English
25
18
340
28.4K
eskimojo
eskimojo@eskimojo·
@nurodev @FabianHiller @colinhacks zod mini is definitely smaller than zod classic, but still larger than valibot: schemabenchmarks.dev/download it's a sort of "halfway house" - it moves things like checks to their own exports, while keeping familiar methods like schema.parse attached; valibot separates everything out
English
0
0
0
14
Ben
Ben@nurodev·
@colinhacks I’m curious what you think of this. To me I feel like a lot of the gains here are negligible. Bundle size I could use Zod mini & performance isn’t as impactful in the grand scheme of things. Also while I do appreciate the work to make Valibot better for agents, most models I know still instinctively go to Zod as I guess it’s more trained on how to use it That being said, I do like Valibot, but I often struggle to find cases where NOT to use Zod in favour of something else
English
2
0
1
1.1K
eskimojo
eskimojo@eskimojo·
@bailout00 @grok @FabianHiller see github.com/open-circle/sc… it depends on how you import it - if you follow the docs and use a named import, you'll get a much larger bundle than if you use a namespaced import and there's a new typebox/Schema entry point in the works that's smaller
English
1
0
0
23
Trevor I. Lasn
Trevor I. Lasn@trevorlasn·
@FabianHiller nah the bundle numbers are real but the migration cost is where it falls apart. every library in my stack has zod adapters built in
English
3
0
11
1.6K
eskimojo
eskimojo@eskimojo·
@rickasaurus not that that's relevant to TS, which doesn't follow semver, so this isn't even a "major release" it does include breaking changes though
English
0
0
0
11
eskimojo
eskimojo@eskimojo·
@rickasaurus people's expectations of semver have been broken a major version is not major because it has lots of features, it's a major because there are breaking changes; you could have a major version that entirely consists of removals of deprecated features features can go in minor rels
English
1
0
1
33
Rick
Rick@rickasaurus·
Doesn’t seem worth a major version tbh. A bunch of library calls?
Rob Palmer@robpalmer2

TypeScript 6.0 is out 🎉 🔶 Temporal 🔶 Map#getOrInsert 🔶 RegExp.escape 🔶 #/ prefix for Package Imports New defaults! 🔶 target: ES2025 🔷 --strict Deprecations! 🗑️ baseUrl, outFile 🗑️ import assertions 🗑️ `module` namespace 🗑️ moduleResolution: node 🗑️ target: ES5

English
5
0
5
2.8K
eskimojo
eskimojo@eskimojo·
@kettanaito let queue = [] if (queue.length > 0) { return Promise.all(queue) }
English
1
0
1
32
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
Is it bad to wish for a PromiseQueue API? Asking for a friend.
Artem Zakharchenko tweet media
English
15
2
104
19K
eskimojo
eskimojo@eskimojo·
@bygregorr @MozDevNet utils can be written immediately, standards take time to be refined and agreed upon
English
0
0
2
41
Gregor
Gregor@bygregorr·
@MozDevNet What took so long for this to land natively when the userland `deferred()` pattern has been everywhere for years?
English
1
0
0
309
MDN Web Docs
MDN Web Docs@MozDevNet·
Creating a resolvable Promise just got cleaner 🧹 `Promise.withResolvers()` returns { promise, resolve, reject } No more wrapping logic inside the constructor. Learn more 👇 developer.mozilla.org/en-US/docs/Web…
MDN Web Docs tweet media
English
2
18
255
10.9K
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
Annoyed by the arbitrary browser policy to put a Service Worker in a "sleep" mode. Not in the spec. Not a thing. But Chrome does that and doesn't fire statechange/controllerchange neither when that happens nor after the worker "recovers".
English
3
1
12
3.6K
eskimojo retweetledi
Fabian Hiller
Fabian Hiller@FabianHiller·
🚀 Valibot v1.3 is here! ✅ Smarter pipelines with `guard()` for type refinement & `parseBoolean()` for boolish inputs (env vars, forms, query strings). ✅ Result caching via `cache()` / `cacheAsync()` for repeated & async validations. ✅ New validators: `domain()`, `jwsCompact()`, `isrc()` + important compatibility fixes. Huge thanks to @eskimojo, @yslpn and many others for contributing to this release! 🙌 Full details + examples 👉 valibot.dev/blog/valibot-v… npm i valibot@latest #Valibot #TypeScript
English
2
18
105
5.2K
manohhoerse
manohhoerse@manohhorse·
@neogoose_btw I can’t tell what he’s actually built! He worked at vercel, and made a pretty good amount of content about typescript. But what has he built
English
3
0
4
2.6K
Dmitriy Kovalenko
Dmitriy Kovalenko@neogoose_btw·
bro is trying to sell you this as a paradigm shift
Dmitriy Kovalenko tweet media
English
9
1
189
39.7K