Showing posts with label JavaScripts. Show all posts
Showing posts with label JavaScripts. Show all posts

Adding JWT Authentication to React

Adding JWT Authentication to React
Discover how to set up JSON Web Token (JWT) authentication in a React application using a typical workflow, and find out how Clerk can simplify the entire proc…
Read more »

React Router Typescript

React Router Typescript
React Router is a popular routing library for React applications, and it can be easily integrated with TypeScript to provide type safety and better documen…
Read more »

Installation of Node JS on Linux

Installation of Node JS on Linux
Node.js is a powerful JavaScript runtime powered by Chrome's V8 engine. On Ubuntu Linux systems, it can easily be installed through the NodeSource reposito…
Read more »

An Introduction to JavaScript's Prototype for Beginners

An Introduction to JavaScript's Prototype for Beginners
Objects play a crucial role in JavaScript, serving as a fundamental element in nearly every facet of the programming language . When you began your journey in …
Read more »

How to Detect Mobile Browsers with JavaScript

How to Detect Mobile Browsers with JavaScript
Identifying mobile devices has always been a critical element in the development of applications, as well as for software and websites. This is crucial …
Read more »

A guide to cookies in Next.js

A guide to cookies in Next.js
Cookies are discreet data packages stored within our browsers, often carrying various purposes. Some intrusively encroach on privacy, while others aim t…
Read more »

useState - Direct value or callback function?

useState - Direct value or callback function?
A word of introduction about useState The useState hook is a powerful way to add state to functional components in React . It allows you to store and mana…
Read more »

A first look at tRPC

A first look at tRPC
All the code for this project can be found at ajcwebdev/a-first-look/trpc .
Read more »

Loop through an Array in Reverse order using JavaScript

Loop through an Array in Reverse order using JavaScript
To loop through an array in reverse order: Use the slice() method to create a copy of the array. Use the reverse() method to reverse the copied arra…
Read more »

How to Fix the “Cannot read property ‘toString’ of undefined” Error in JavaScript

How to Fix the “Cannot read property ‘toString’ of undefined” Error in JavaScript
The "Cannot read property 'toString' of undefined" error in JavaScript arises when attempting to invoke the toString() method on a variable t…
Read more »

10 Helpful JavaScript Utility Functions

10 Helpful JavaScript Utility Functions
In this discussion, we'll explore ten personalized utility functions in JavaScript designed to be useful across a variety of projects.
Read more »

Using Helmet in Node.js to secure your application

Using Helmet in Node.js to secure your application
Express.js is the most popular web framework for developing web applications in Node.js. It comes with several features to make API development faster and easi…
Read more »

Understanding lazy loading in JavaScript

Understanding lazy loading in JavaScript
In this article, we will explore the concept of lazy loading in JavaScript. We'll delve into the native lazy loading API, its implementation, the signific…
Read more »