#javascript
Plug & Play Modular Architecture for Scalable and Maintainable Apps
A new project is always a joy: the code hasn't yet been bloated with deprecated features, rushed decisions and questionable dependencies. When my projects get to this state I become increasingly less productive and the urge to refactor grows exponentially, which, as you would imagine, halts any progress entirely.
[read more]ES Modules & Import Maps: Back to the Future
There was a time when creating a web page meant creating an html file, yet nowadays it seems impossible to build any frontend without the bottomless pit of node_modules, yielding a finely chewed yet hefty bundle.xyz.js. Well, I got to learn that it might not be the case soon and, naturally, I feel the urge to share it with the rest of you.
[read more]Me & React: 5 Years in 15 Minutes
I first heard of React when a friend showed me a project he had written. It was some sort of content management system: it had tables, forms, visual editors and stuff like this. I don't remember much, except that code was really really confusing
[read more]Master Binary in Five Minutes
Binary is the very core of everything digital, not only in web development, but literally everything: from variables and file data to transport protocols and executables themselves.
[read more]Five Pro Tips to Master Promises in Js
Events handling and promises in particular are hands down the best JavaScript feature. You're probably familiar with the concept itself, but in short, a Promise in JavaScript is a promise to call back with the result.
[read more]How to Use Custom Files as Modules in Nodejs
There are quite a few cases where you can benefit from importing an arbitrary file directly: in universal apps, tests, or simply to avoid boilerplate. Good news: you don't need Babel, Webpack, or anything else for it.
[read more]How to Do Magic With Numbers
JavaScript Number type would have been called double or float64 in a compiled language. Therefore, numbers have some limits
[read more]