Advertisement ยท 728 ร— 90

Posts by Artem Zakharchenko

This image makes me happy. I want more developers enjoying Vitest. You are missing out big time if you aren't using it in 2026.

5 hours ago 16 0 0 0

Kind of crazy to think how much the craft has evolved since that time. I dare say JavaScript is a proper programming language now.

5 hours ago 2 0 1 0

So AI doesn't understand the internal MSW architecture (the worker source) at all. Not sure if I should be sad or proud.

9 hours ago 6 0 2 0

My next workshop is 2h 10m of condensed problem solving and pure knowledge on end-to-end testing with Playwright. That's a whopping movie on the topic ๐Ÿ˜…

9 hours ago 7 0 0 0

So does all software, really! It's always down to cost vs gain. I quite like working with Solid. The mental model shift is rather steep, but you can abandon hooks from day one.

9 hours ago 1 0 0 0

My favorite kind of articles is "Playwright vs Jest" or "React vs JavaScript". You can feel all the absurd amount of research behind them seeping through the title alone.

9 hours ago 18 0 1 0

I never got over the fact how much API churn React is putting on me solely due to how it's designed.

Helps a ton trying other frameworks. It's such a bliss to never have to think about hooks again โค๏ธ

9 hours ago 1 0 1 0

Sometimes the content just deserves a half like.

9 hours ago 1 0 0 0
Advertisement

Thanks! Your contributions are making it better for everyone.

11 hours ago 0 0 0 0

Yeah, I've taken a huge inspiration from Factorybot and Laravel's built-in ORM, as well as Drizzle and Prisma.

1 day ago 0 0 0 0
Preview
GitHub - mswjs/data: Data querying library for testing JavaScript applications. Data querying library for testing JavaScript applications. - mswjs/data

I built Data as the means to do data-first API mocking, but it turned out that all you need is schema seeding and ORM-like querying, which are general purpose.

Could you give it a try? Experiment, try breaking it, that kind of stuff. Thanks!
github.com/mswjs/data

1 day ago 20 1 1 0

I haven't!

1 day ago 0 0 0 0

Migrated to oxlint the other day and the experience is smooth so far! Oh, and insanely fast. Like did-it-run-at-all-huh kind of fast.

1 day ago 37 0 5 0

One more scene and the act 2 of my novel might be complete. I got all the details planned out, the only thing left to do is to sit down and write.

1 day ago 1 0 0 0

You can cup one into another and put them on a mirror to achieve the said 'hands on his hands' effect.

1 day ago 0 0 0 0

The ringtone is #1 anxiety inducer for me ๐Ÿ˜ฌ

1 day ago 1 0 1 0

That is clearly not the case as we see more and more frameworks working on server-side data fetching prioritization and out-of-order streaming to focus on critical parts of the UI.

Resizing is fine. For caching, there's the Vary header, but that depends what cache you mean.

2 days ago 1 0 2 0
Advertisement

Still shocked so many people got it.

2 days ago 1 0 0 0

It's not really about styling though. Knowing the client's fold means I can prioritize rendering the UI that's above it. Think data fetching, streaming, that stuff.

2 days ago 0 0 2 0

Elaborate.

2 days ago 0 0 1 0

TIL MSW doesn't really support intercepting form submissions since we guard against "navigate" requests. Historically, that guard was put there to prevent you from accidentally mocking your index.html or main.js.

I'm considering removing it and introducing proper form handling.

3 days ago 9 0 0 0

Oh right. Well. Yeah.

3 days ago 1 0 0 0

I might be stupid on this, but why aren't browsers sending the client's dimensions to the server so it can fine-tune the rendering strategy knowing where the fold is?

3 days ago 6 0 3 0

The browser will not USE that code, but it has to import it to know it's unused. But even that aside, granular entrypoints create tiny universes within the library, helping with logic collocation and granular updates.

3 days ago 4 0 1 0

I want to embrace the ESM future wholeheartedly. And in the browser, importing "msw" will pull in EVERYTHING over the network, creating an absurdly large request waterfall of dependencies. Browser does no treeshaking. You importing just `http` will import graphgql, ws, etc.

3 days ago 2 0 1 0
Advertisement
Post image

I'm slowly coming around to granular entrypoints being peak ergonomics.

3 days ago 17 0 1 0

Specification-first API design is beneficial in so many ways, including being much easier to mock/test, too.

3 days ago 5 0 0 0

My take on API mock generators is that the only source of truth worth generating mocks from is your API specification. Anything else is a brittle abstraction whose appeal evaporates in no time in practice.

If you want to go this route, please invest into designing a spec.

3 days ago 9 0 1 0

Lana Dev Rel.

3 days ago 22 2 2 0

I have M2 Air. It fares with development surprisingly well, but I'm using it for personal things.

4 days ago 1 0 0 0