typescript

Recent in

typescript

10 More TypeScript Alternatives
web-development

10 More TypeScript Alternatives

https://hackernoon.com

After comparing TypeScript with some of its alternatives, it can be concluded that TypeScript offers a strong set of features that make it a valuable choice for developing large-scale applications.

Aleksei KankovFeb 21, 2023
Sending an Invoice and Adding a Payment Reminder in Next.js with Courier API
web-development

Sending an Invoice and Adding a Payment Reminder in Next.js with Courier API

https://hackernoon.com

A lot of open-source invoice management apps are built with Laravel. I wanted to build the “React Solution” for devs that are familiar with React and Javascript. A problem I found when building with services in Node.js is that there is no built-in mailer. So, I had to find a 3rd party service to do that for me.

CourierFeb 14, 2023
Conditional Rendering in Vue
web-development

Conditional Rendering in Vue

https://hackernoon.com

V-if and v-show are two ways to conditionally render content in Vue. They work in slightly different ways - which can be quite confusing.

Johnny SimpsonFeb 7, 2023
Implementing Social Login for a React and Backend App
react

Implementing Social Login for a React and Backend App

https://hackernoon.com

Social login allows users to log in to applications or websites using their accounts such as Facebook, Google, Twitter, etc. This saves users time by not having to create an additional account and password and taking advantage of the social network’s security measures.

L Javier TovarFeb 6, 2023
How I Use Node.js for DevOps Scripting
nodejs

How I Use Node.js for DevOps Scripting

https://hackernoon.com

Most projects that you work on will involve some piece of DevOps scripting. If your application is using Node, there's no reason not to use it in your scripting too.

Ben ForceFeb 6, 2023
How to Remove Duplicate Elements in Javascript Arrays
A Review of Arrays in Javascript
web-development

A Review of Arrays in Javascript

https://hackernoon.com

Arrays in Javascript are a simple, one-dimensional way to store simple sets of data. Arrays are non-unique, which means they can store duplicates (unlike sets). They also follow typical prototype inheritance, as with other Javascript types.

Johnny SimpsonFeb 5, 2023
How to Determine Whether a JavaScript Object Is Empty
javascript

How to Determine Whether a JavaScript Object Is Empty

https://hackernoon.com

Defining a new object in Javascript is pretty easy - but what if you want to find out if it's empty? For example, {} is an empty object, but how do we actually test that this is the case?The easiest (and best) way to do this, is to use Object.keys().

Johnny SimpsonFeb 5, 2023
Everything You Need to Know About Promise.all() in JavaScript
javascript

Everything You Need to Know About Promise.all() in JavaScript

https://hackernoon.com

Promise.all() is a function that accepts many promises and then does something only after they have all been settled. It is particularly useful for development - for example, if you want a loading symbol to show on the screen until multiple promises conclude.

Johnny SimpsonFeb 5, 2023
Understanding innerHTML in Javascript
javascript

Understanding innerHTML in Javascript

https://hackernoon.com

In Javascript, we have lots of different ways to manipulate DOM elements. DOM elements are the HTML elements we define when we write our scripts. Once we are targetting a particular DOM element, it's often useful to set its contents with new HTML content or to retrieve its HTML content for use somewhere else. To do this, we use `innerHTML`.

Johnny SimpsonFeb 5, 2023
How To Use Debounce in Next.js
nextjs

How To Use Debounce in Next.js

https://hackernoon.com

React v16.8 introduced a new hook called `useEffect, which allows you to run side effects in your functional components. UseEffect is a great way to handle expensive operations like API calls, but it can take some work. In this post, I'll show you how to use use useEffect` to debounce expensive procedures in Next.js. Debouncing is a technique for controlling the rate at which a function is called.

Imamuzzaki Abu SalamNov 20, 2022
Newsletter

Let's keep in touch

Benefit from a weekly updates, coding challenges and helpful resources around software development.

Your privacy is important to us. We promise not to send you spam!