In my previous blog, we had discussed using server actions with our forms and managing the loading state with the new useFormStatus hook from react-dom. In this one, we are going to explore another experimental hook from react-dom: useFormState. Concisely, useFormState is a hook to which we provide a function to manipulate form data. The […]
Front-End Development
Which Components Are Available Out of the Box with Sitecore XP Using SXA? A Quick Reference Guide
When planning a new website, a web development team must identify the essential components required for completion. These pieces are often called components. Assuming the site is being built using a Content Management System (CMS), most, if not all of these platforms will have their own set of “out of the box” components. Out of […]
Understanding JavaScript Web APIs: Part 3
Welcome back to the third part of our series on essential Web APIs! If you haven’t had the opportunity to explore Part 2 yet, where we extensively covered the nuances of the Web History API and Web Storage API, I encourage you to catch up here to gain valuable insights into efficiently managing browser history […]
Understanding JavaScript Web APIs: Part 2
Welcome back to the continuation of our journey through crucial Web APIs! For newcomers to our series, I highly recommend diving into Part 1, accessible here, where we extensively cover the fundamental aspects of the Web Forms API. Continuing our journey, let’s delve into further exploration of vital Web APIs, including the Web History API […]
useNavigate: Navigation React Router v6
In React͏ development, smooth moving between pages is vital for a seamless͏ user experience. React Router v6 brings out the useNavigate hook for advanced navigation, simplifying navigation logic͏ in functional elements. This ͏blog post will delve into the useNavigate hook, its features, functions, and benefits in React Router v6. Introducing useN͏avigate In React Router͏ v6, […]
Exploring HTML Template Engines for Node.js
The fusion of HTML template engines with Node.js has sparked a transformative wave in web development, reshaping the landscape of dynamic web application creation. These engines give developers an efficient means of dynamically generating HTML content, effectively elevating the readability and manageability of code repositories. Over the course of this blog post, we will embark […]
How to Create an Email Template in Dark Mode for Outlook
What is Dark Mode? Dark Mode inverts the colors on your device to decrease the amount of light on your screen, inverting a white background with black text and a black background with white text. In dark mode, it inverts email components of text and UI elements as light-colored on a dark background. The benefit […]
Mastering Responsive Videos and Maps with Bootstrap Embed Classes
In Bootstrap, the embed-responsive and embed-responsive-item classes create responsive embeds for videos, maps, or any other embedded content. These embedded classes ensure the embedded content scales properly and maintain its aspect ratio across different screen sizes. Let’s explore how to use Bootstrap embed classes for responsive embeds. Bootstrap Responsive Video Embed Bootstrap provides a simple […]
Make Your Flutter Apps Soar with Pigeon Platform Channels
Flutter is great framework for cross platform development. It allows you to make pixel perfect apps that are generated into native code, but what happens if you need to use existing code in iOS or Android directly? For situations like these, Flutter allows you to use platform channels. Platform channels give you access to platform-specific […]
Understanding JavaScript Web APIs: Part 1
JavaScript is a central pillar in web development, elevating user engagement and imbuing websites with dynamic capabilities. Among its intriguing components are Web APIs, which facilitate access to diverse browser functionalities. In this segment, we’ll explore these APIs, starting with Part 1: Web Forms API. Let’s commence our exploration of these fundamental tools for web […]
useFormStatus FormControl in Next.js
In Next JS, developers prefer most of their code to remain on the server side. However, it is quite tricky to accomplish such feats when you are working with forms. Components that require inputs from the user and thus must be client components to perform user operations like button clicks or text inputs. There useFormStatus […]
React Navigation: A Rollercoaster Ride with useHistory
React applications often require navigation between different components and pages. The useHistory hook, provided by React Router, simplifies navigation by providing access to the browser’s history object. In this blog, we’ll explore the useHistory hook, understand its implementation, and see practical examples of how it enhances navigation in React applications. Understanding useHistory The useHistory hook […]