nisharmultani.hashnode.devmost Ask react interview question part -211 ) What is the purpose of the key prop in React? -> The key prop is used to uniquely identify elements in a list of components. It helps React to efficiently update the list when new items are added, removed, or reordered. 12 ) What is the differen...Mar 22, 2023·3 min read
nisharmultani.hashnode.devmost asked React Interview questions.1) What is React? -> React is a JavaScript library for building user interfaces. 2) What are the key features of React? -> The key features of React are: Declarative: React makes it easy to build complex UIs by breaking them down into smaller, reusa...Mar 19, 2023·3 min read
nisharmultani.hashnode.devWhat is a zkSync chain?zkSync is a Layer 2 scaling solution for Ethereum that is designed to increase the transaction processing capacity of the Ethereum network while reducing the fees and latency associated with on-chain transactions. It is built using zero-knowledge pro...Mar 3, 2023·2 min read
nisharmultani.hashnode.devTruncate in tailwinds.In Tailwind CSS, the truncate utility class can be used to truncate text that overflows its container. Here's how you can use it: htmlCopy code<div class="truncate"> This text will be truncated if it overflows its container. </div> This will trunc...Mar 1, 2023·1 min read
nisharmultani.hashnode.devwhat is a useCallback Hook in React. ?In React, useCallback is a hook that is used to memoize a function. When a function is memoized, it means that the function is only re-created when its dependencies change, and not on every render. The syntax for useCallback is as follows: javascript...Feb 28, 2023·2 min read