To understand what messaging queues are we first need to understand how services usually communicate with each other. There are synchronous and asynchronous ways of communication. I will try to write about how they both work.

Let’s start with a real world example of two services trying to communicate synchronously.


So what is this mythical API-gateway? Sounds like some mumbo-jumbo phrase programmers use to throw people off.

Actually it is kind of a simple thing - one could think of it as a door a person could use to enter the apartment (if a person is a network request and…


You must have heard about React hooks by now. They let you use state and other React features without writing a class.

Hooks offer a powerful and expressive new way to reuse functionality between components. “Building Your Own Hooks” provides a glimpse of what’s possible.


I have been coding with React for over 5 years now. At first when I started I always felt like something was missing. React itself doesn’t have strict type checking and on larger scale projects you wouldn’t know what state shape you are working with or what the mysterious API…


I have already written an article explaining what Higher Order Components (HOCs) are and about the advantages they offer. If you’re new to this concept, feel free to read about it: What is a Higher Order Component?

There are some HOCs that I use more often than others. …


Originally when Single Page Applications weren’t a thing every page was a different HTML returned from a response to a HTTP call. Either a static content file or by processing the response via server side languages (such as PHP, Python or Java) and responding in a more dynamic way.

SPAs…


A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOC is not part of the React API. It is a pattern that emerges from React’s compositional nature and that can be reused in different programming languages as well.

Photo by Didssph on Unsplash

Concretely, a higher-order component is a function…


Photo by Julie Molliver on Unsplash

I use Redux Toolkit package as a standard way of writing Redux logic. It was originally created to solve three common concerns about Redux:

  • “Redux requires too much boilerplate code”
  • “Configuring a Redux store is too complicated”
  • “I have to add a lot of packages to get Redux to do…


Photo by Lynda Hinton on Unsplash

Hooks let you use state and other React features without writing a class. I’ll be writing about the ones I use most often.

import React, { useState } from 'react';function Example() {
// Declare a new state variable, which we'll call "count" const [count, setCount] = useState(0)…

Photo by Brooke Lark on Unsplash

Code splitting is a technique used to dramatically decrease initial render times. You also download only as much assets (css, js, html) as you need if it is implemented correctly.

One of the most popular bundlers is Webpack and it allows code splitting in three different ways:

1. Entry points

This is the…

Mindaugas Nakrosis

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