CategoryUncategorized

useMemo vs React.memo: Which is better?

u

What is React.Memo? React.Memo is a HOC (Higher Order Component) in react js which accepts a react component & a function that updates the component with the help of props using memoization. React.Memo keeps the track of the react component between the renders. A small example to make you understand React.Memo concept, What is useMemo? useMemo is the hook in react js that accepts a function...

Render optimization in React app: Memoization using useMemo

R

What is the useMemo hook? The useMemo hook is one of the additional hooks that are implemented in React. The purpose of the useMemo hook is to memoize the return value of a function i.e it executes some function & remembers the value of that function. Syntax: – const memoVal= useMemo(funcThatReturnsValue,arrayDependencies) useMemo hook accepts two arguments i.e., the first argument is...

Managing Redux Side Effects Using Redux Saga

M

If you have previously used Redux in a React project, you will eventually need to handle side effects (asynchronous) such as API requests or setting timeout and intervals since they are necessary while developing features for a “complex online application.” The Redux design takes an action and a state and then returns a new state to offer predictable state change. There are no built...

Lifecyle Methods in Reactjs

L

React apps are basically a collection of independent components that run according to interaction with one another. Every component has a lifecycle of its own. It can be defined as the methods that are invoked during different stages of its existence. If we talk about the stages of a component’s lifecycle, it will be as follows. Initialization: This is the stage where a component gets...

React Context API:  A Lightweight Alternative to Redux

R

The Context provides a path to pass data through the component tree without passing props down manually at every component. Context API (React API) solves a lot of problems that modern applications face due to state management and how they’re passing state to the components. Instead of installing a state management library in your project which will cost our project performance and increase our...

Prevent Junk from Cluttering Pardot – make an Automation Rule –

P

Junk records or wrong emails can come into your pardot account in multiple ways. There are common ways, including via form submission (someone enters a flawed email address to avoid being added to a pardot mailing list), import, or even sync to Salesforce. Instead of spending hours manually cleaning records, use an automation rule to clean your database automatically. In this pardot method, we’re...

Enhance User Experience With Suitable Rendering Pattern

E

Every web developer wants to make their website load as fast as possible, slow websites end up losing users and thus business. Rendering patterns that suits an e-commerce platform may not be suitable for a news publishing website. Rendering patterns focus on how to give pages to the user. Should we create the pages and store them on build time and serve when requested, or create a page only when...

Java Script Utility Libraries You Must Know

J

The JavaScript programming language is more well-liked than ever these days. Without a doubt, it is the most used language on the web. Its ability to be used on browsers, servers, mobile applications, and much more is fantastic. In addition, JavaScript has a strong ecosystem with a wide range of beneficial libraries and frameworks. Utilizing these libraries and frameworks will enable you to speed...

Discount Schedule on Salesforce CPQ

D

What Is Salesforce CPQ? CPQ stands for Configure, Price and Quote which is a web application tool provided by salesforce, it is a sales tool for companies to provide accurate pricing with any given product configuration scenario. Due to its cloud-based platform, Salesforce CPQ offers your sales team simple-to-use software accessible on any device. You have a direct connection with your CRM thanks...

Insert Products in bulk in Salesforce CPQ.

I

INTRODUCTION: Products are one of the key objects when we talk about Salesforce CPQ. In this process, we will learn to insert multiple products at once. STEPS: Prepare a CSV file for your Product import file with the columns you need.Log in to Data Loader.Click on the ‘Insert’ button.Select ‘Product (Product2).’Browse for your CSV file.Click on the Next button and click Ok...

Category