Mastering Asynchrony in the Browser: A Comprehensive Guide

Acknowledgements This article was originally written in Russian by Grigory Biziukin and was published on Полное понимание асинхронности в браузере on 28/02/2023. I would like to thank Grigory Biziukin for creating such informative and insightful content. I have made every effort to accurately translate the content while maintaining the author’s original message and intent. However, any errors in translation are solely my own. I hope that my translation will allow a wider audience to access and appreciate this valuable content, and I encourage readers to visit the original publication or website to read more of Grigory Biziukin’s work. ...

How I Accidentally Reinvented RPC: A Lightweight Alternative to GraphQL

Author’s Note (2025): When I originally wrote this article, I didn’t realize I was essentially reinventing RPC (Remote Procedure Call) - a pattern that’s been around for decades. What I built here is very similar to JSON-RPC over HTTP, just without knowing it had a name! Today, I’d recommend using battle-tested solutions like tRPC or oRPC which provide the same benefits I was seeking (type safety, simplicity, single endpoint) but with better tooling, community support, and production-readiness. However, I’m keeping this article as-is because building this from scratch taught me valuable lessons about API design, and sometimes reinventing the wheel is the best way to understand why the wheel is shaped the way it is. ...