Insite is now Configured Commerce. In this blog, we will learn below points: Replacing an existing page in Spire Example of replacing an existing page Implementation in Local machine Replacing an existing widget in Spire Example of replacing an existing widget Implementation in Local machine In this blog post, we will explore the process of […]
Posts Tagged ‘ReactJS’
Type-checking Made Easy: Exploring PropTypes in React
In React development, ensuring proper data validation is crucial for building robust and reliable applications. One powerful tool for type-checking is PropTypes, a built-in feature in React that enables developers to validate the props passed to components. In this blog, we will explore the concept of type-checking with PropTypes, understand its benefits, and provide brief […]
Understanding the Context API in React: Simplifying State Management
Introduction The Context API in React allows components to share data with each other, even if they are not directly related. It helps avoid the problem of passing data through many components by letting components access shared data directly. It helps in preventing the prop drilling problem. Consider the diagram to represent a chain of […]
Introduction to Tailwind CSS
What is Tailwind CSS? Tailwind is a utility CSS library that allows developers to use the styling properties within the HTML file. It is done by labeling the class name as styling properties. Instead of defining the class name such as Navbar, and Footer, developers can define the classes as styling properties. Such as display […]
Choosing Between Ternaries or && in JSX
There is always the question that runs in the mind of developers, do I choose ternaries or logical && to use in React? Personally, I always prefer logical && over ternaries to handle the truth condition. Let me explain why. Just a few days ago, I was writing the following React code: import React from […]
Creating Your First Custom AEM Component Using React – Part 1
Recently, I went through an article about integrating React JS and Angular JS with AEM. In this blog, I am going to show you how to create a custom component that includes a cq:dialog and one that does not include a cq:dialog. Before building the components, clone the repository, which is a sample project based […]
Decoding the UI Architecture
With the increasing advent in SOA and RESTful based applications, all the business logic today is being pushed to the client. With numerable paradigms being present for the UI to consumes these services and create dynamic content, there becomes a need to define the presentation, structure and behavior of the User Interface. While working with […]