The way you create and access your data can affect your app’s performance. Let’s see how.

Intro

JavaScript is a very high-level language. As such, most developers don’t tend to think a lot about how data is stored in memory. In this article, we will go over how data is stored in the memory, how it affects the CPU and memory and how the way you distribute and access your data in JS affects performance.

The Romantic Triangle

When the computer needs to do some computation, the processing unit (the CPU) needs data to process. …


You’ve created something amazing. You’ve published on GitHub. People are downloading, using, forking, and contributing. The community is thrilled. But are you ready for the oncoming glut of Pull Requests?

Continuous Integration/Continuous Delivery (“CI/CD”), two terms so frequently mentioned together they’ve been fused into one concept, refers to the automation of such repetitive tasks as testing, building, and deploying software. Over time, it has become an invaluable tool in maintaining a productive and functional team.

How does it work?

CI

A CI process is a process in which software is developed by multiple sources and is automatically integrated via an established procedure. …


Once upon a time, in order to create web components, one had to resort to a front end framework like angular or react (yes yes, I’ve heard the “it’s only a lib” before from all the angularists in the crowd) .

Web component is one awesome piece of technology (or rather, a combination of 4 technologies). Now that browser support is rising, publishing a web component to github for global consumption seems like a good contribution to the community.

In this article, we will build upon the example shown in the former article in the web components series: the modal…


This is a guest post by Yonatan Kra from WalkMe. This post was originally posted in the WalkMe Engineering blog.

Bitwise operators are frequently used by the pros, usually for memory-related performance boosts. What are they, when should you use them, and how do they impact performance? Stay tuned for answers to all of this and more!

This subject irked me for a long time. I saw it. I heard about it. I even used it without fully understanding it (at least at first). …


It took me a while to get to it, but I’ve finally put on my big boy pants and learned the long festering Web Components specification. If you are using Angular, React, Vue, or any self respecting front-end framework, you must be familiar with the components concept.

In this tutorial, we will build a web component that can be published to npm. We’ll be using Chrome, as Web Components will not work on many other browsers at this time (thanks @westbrook for pointing out that FF and Safari now have bridged the gap). …


This is part of the bitwise operators series. If you need a refresher on bitwise operators, please read the first article (go ahead… I’ll wait).

In The Bits and Pieces section of my former article (linked above), we learned that you can represent several booleans with one integer using binary representation. We can also use bitwise operators to easily query the state of one or several booleans — or to change the values in a single line of code.

Conventional wisdom tells you that this kind of optimization is rarely required. Despite this dearth of enthusiasm, there are times when…


Bitwise operators are frequently used by the pros, usually for memory-related performance boosts. What are they, when should you use them, and how do they impact performance? Stay tuned for answers to all of this and more!

This subject irked me for a long time. I saw it. I heard about it. I even used it without fully understanding it (at least at first). It can certainly be confusing for newbies (heck — it was confusing for me when I already had 10 years’ experience).

I believe we are only confused by concepts we’ve learned if they’re taught to us…


Here’s a story about how failures can lead you to a pull request in a very popular open source project.

I learn a lot from my failures. Actually (cliché alert!!!), failure is one of the best ways to learn (so says G-d).

In this post, I will share with you the hard-fought wisdom I attained in tackling the numerous issues I faced learning webpack. Be prepared to learn about not only some k-cka$$ webpack features, but also the many ways I am growing as a developer.

Background

When using the latest JavaScript (JS) version’s (we will call it “ES2017” from now…


Load time, memory imprint and bandwidth are major considerations when building a web application. Lazy loading is a technique that may help reduce all of the above. However, misusing or under-planning this technique can actually harm your app and necessitate a big refactoring process later on.

Don’t get me wrong, though: Lazy loading IS awesome, especially since HTTP/2 came about. You can load only the files you want and improve your app’s performance. Webpack allows you to lazy load 3rd-party libraries, and, even better, it allows you to chunk your own app and lazy load parts of it on demand…


This post might add fireworks to your machine…

Using webpack without fully understanding it, as if it were magic? Heard about the wonders of webpack, but got flustered by its ominous documentation? Are you from outer-space (like — a totally different galaxy) and haven’t heard of webpack at all? In any of these cases (and many more), this post is for you!

Webpack: The Final Frontier. These are the voyages of the flagship app of your enterprise (or just your pet project). Its tl;dr mission: to boldly go where many developers have gone before!

What is webpack? In one word — a bundler. In a few words, webpack…

Yonatan Kra

Software Architect at WalkMe

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store