Javascript Intl.RelativeTimeFormat formatting

How to format dates with Intl.RelativeTimeFormat

The idea of Intl.RelativeTimeFormat is that it gives the ability to format to create an instance of relative time format function, with some pre defined settings or…

react-query-usemutation

React-Query useMutation with Jest Testing

Introduction React-Query is a powerful tool for fetching/caching the data on the frontend side, yet testing React-Query with Jest and React-testing-library might be a bit tricky, in…

how-to-format-price-with-currency-in-javascript

How To Format Price With Currency In Javascript

In this article we’re going to explore Javascript Intl API INTL.FormatNumber and see how it can be used in order to format numbers and prices with/without decimal…

The Complete Guide About Javascript IIFE

The Complete Guide About Javascript IIFE

Through this article, we will go through the details of Javascript Immediately Invoked Function Expression (IIFE). Introduction An Immediately-invoked Function Expression (known as Self-executing anonymous functions) is…

testing-react-query-with-mock-service-worker

Testing React-Query with Mock Service Worker

In this article i’ll show you how to test React-Query with Mock Service Worker(MSW). Prerequisites This article will be dependent on a previous articles we published about…

Create-or-format-Dates-without -Timezone-using-JavaScript DateTimeFormat

Format Dates without Timezone using JavaScript

Introduction Formatting/creating dates with Javascript without timezone can be a bit tricky due to the difference between formatting in respect to a timezone or not, in this…

TransformStream

How Javascript TransformStream transform strings

Recently, All three browsers’ engines (Chrome, Safari, Firefox) started supporting the TransformStream API. TransformStream allows you to break down a resource that you want to receive, send,…

react-query-use-infinite-query-with-jest

Testing Infinite Query With Jest And React-testing-library

In our first article How to test Infinite Query With Jest And React-testing-library, We talked about how to implement React-Query useInfinitieQuery and react-infinite-scroll together to lazy load…

use-infinite-query-hook-infinite-scroll

How to test Infinite Query With Jest And React-testing-library

React-Query is a powerful tool for fetching/caching the data on the frontend side, yet testing React-Query with Jest and React-testing-library might be a bit not straight-forward, in…