JavaScript

Singleton Design Pattern in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Singleton Design Pattern in JavaScript

A Singleton only allows for a single instantiation, but many instances of the same object. The Singleton restricts clients from creating multiple objects, after the first object created, it will return instances of itself. Finding use cases for Singletons is difficult for most who have not yet…

Read more
Understanding the Event Loop, Callbacks, Promises, and Async/Await in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding the Event Loop, Callbacks, Promises, and Async/Await in JavaScript

In order to avoid blocking code in JavaScript development, asynchronous coding techniques must be used for operations that take a long time, such as network requests made from Web APIs like Fetch. This article will cover asynchronous programming fundamentals, teaching you about the event loop, the original way of dealing with asynchronous behavior through callbacks, the updated ECMAScript 2015 (ES6) addition of promises, and the modern practice of using async/await.

Read more
How To Build a Recipe App Using React, Prisma, and GraphQL — step-by-step Javascript tutorial on Progressive Robot

How To Build a Recipe App Using React, Prisma, and GraphQL

GraphQL gained popularity in terms of front-end development due to the various advantages it offers over REST APIs. However, setting up your own GraphQL server is both error-prone and complicated. Due to this, managed services such as Prisma have been made to manage your GraphQL server, allowing you to focus on the development of your app. In this tutorial, we will be building a fully functional recipe app using React and Prisma to manage GraphQL.

Read more
CHAT