Artem Zakharchenko

@kettanaito.com

Software engineer. Author of mswjs.io and @bytebinding.com. Teacher at http://EpicWeb.dev and egghead.io. Storyteller @zakarcher.com. My debut book "LOGGERHEADS" is out 👇 https://zakarcher.com/books/loggerheads

I am preparing an absolute treat of a landing page for @bytebinding.com. I've never built one for a product before. You can say libraries are somewhat products, but they don't have to be (and very few are positioned as such). This one let me go wild and I'm loving the results.

More and more developers are migrating to MSW 3.0. This is great to see. Meanwhile, I'm addressing reported issues to make sure you have the best mocking experience possible.

A digital display shows version number v3.x alongside a statistic of 346.4K, suggesting a software or app usage metric.

MSW 3.0 brings granular import paths to keep that module graph under control. While we're keeping the root "msw" exports as-is (apart from "graphql"), the recommended way to import things is from the designated import paths.

Code snippet showing various import statements from the MSW (Mock Service Worker) library for handling different types of web requests.

Integrating MSW into Vite-based projects has become silly simple with the new "msw/vite" plugin! And yes, this works with Vitest, too. The plugin integrates MSW client and server-side and keeps the worker script up-to-date for you, automatically.

Code snippet shows a Vite configuration file importing and using the MSW plugin for application integration.

I see a lot of folks following me from the writing community. Hi! 👋 It's a pleasure to connect with you. I write fiction, working on the second draft of my fantasy story (at @zakarcher.com). Drop what you're working on below, too. I'd love to see.

Nobody will buy a $1,000 console not because it's $1,000. It's because it will ship with outdated hardware. People prove yearly they have more than enough disposable income on freaking phones. Everything is overpriced as it is, just give customers value for that price.

Why are we lamenting over closed PRs? Opening a PR was never the right first interaction with any project. Read issues, discuss, learn from the maintainers, *then* open a PR. And if you do all that, you'll already be a collaborator in most OSS projects I know of.

Async History Stack is one of the most impressive tiny pieces of software I built for my upcoming app. Extremely powerful, tiny, and dependency-free way to compose actions into history entries with undo/redo/cancellation/etc. You should give it a try. github.com/kettanaito/...

GitHub - kettanaito/async-history-stack: Arbitrary change history management in JavaScript.

Arbitrary change history management in JavaScript. - kettanaito/async-history-stack

github.com

Learning to gather the discipline to push through is the rite of passage to any creative endeavor. Getting off the inspiration drug and making things happen at any time, any mood.

I was prototyping HTTP2 support in MSW and came to yet another realization that we do need proper server-side network primitives. This might be the turning point for me implementing those. A Request that isn't married to REST. A Response that supports trailers. The good stuff.

It never ceases to amaze me how gullible people are. They tell you coding is solved and yet software is perpetually broken. Then, they tell you not to read the code because we all know the best way to deal with problems is to ignore them. And that's engineers.