<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1063935717132479&amp;ev=PageView&amp;noscript=1 https://www.facebook.com/tr?id=1063935717132479&amp;ev=PageView&amp;noscript=1 "> Bitovi Blog - UX and UI design, JavaScript and Front-end development

javascript

Don’t Overload the API: Sequential & Batched Promises

May 5, 2023

The other day I was uploading a lot of content, including images, to a 3rd party service. I put together all my objects and mapped through them to fire off requests. Nearly immediately, I blew past...

How to Create a Path Alias in Webpack

August 8, 2022

We've all been there: you’re multiple folders deep in a project, and you must reach up to grab a component in a top-level folder with an unknown level of ../'s to traverse. These complications...

Write Your First Temporal Workflow in TypeScript

May 3, 2022

If you’re looking for a good open-source framework to manage server state, Temporal Typescript SDK is a great one to try. If you’re not familiar with Temporal, here’s an excellent introduction video,...

How to speed up your Angular builds

April 19, 2022

Slow builds stop developers' productivity cold. If code takes even two minutes to compile, it’s easy to get distracted. You lose your train of thought or, god forbid, open social media.

How to Create Custom ESLint Rules (It's Not as Hard as You Think...)

February 2, 2022

Most teams develop patterns or preferred ways of writing code, but it can be tedious to enforce adhering to those patterns, especially for new team members onboarding. To help this, we rely on...

Use Objects or Switch Statements in Javascript?

January 10, 2022

Do you use switch/case statements or do you use object literals in your Javascript? 

TypeScript Features Every Angular Developer Needs to Know

September 17, 2021

If you’re an Angular developer, you’re missing out if you’re not using advanced TypeScript features to help you build better code. 

A Simple Asynchronous Alternative to React's useReducer

July 27, 2021

Even though React's useReducer has gained a lot of popularity during the last couple of years, it can be difficult to use for some common cases. Specifically, it requires a lot of boilerplate to...

What’s New in RxJS 7: Small Bundles and Big Changes to share()

June 2, 2021

RxJS 7 has shipped! For us Angular developers, it unfortunately did not ship in time for Angular 12.

Understand Declarative vs. Imperative Code using Array Functions

May 25, 2021

Declarative code: it’s a hot term in all types of programming. But what does it really mean? More importantly, how do you make the jump from understanding the concept to actually writing declarative...