key features of useEffect hook in React component

Purpose: useEffect is a React hook used for handling side effects in functional components. Side effects can include data fetching, subscriptions, DOM manipulations, and more.1 Functionality: It allows performing operations after the component renders or when certain dependencies change. Syntax: It takes two arguments: a function and an optional dependency array. Function Argument: Contains the… Continue reading key features of useEffect hook in React component

How to remove the blue highlight of button on mobile?

When trying to create buttons, links or input fields using latest development technologies like next js, react and angular etc there might be some times a default background color may appear. This can cause bugs for the developed website since they create a different background color different from the mockup. As solution we can use… Continue reading How to remove the blue highlight of button on mobile?

Include JSON Lottie files in Next JS Project

Sometimes, there might be situation arises where we have to add JSON Lottie files in our project for improving UI and also making user friendly. We cannot directly use Lottie files in Next JS project instead we have to do the followings. Install lottie-react using npm i lottie-react –legacy-peer-deps Create a folder to add Lottie… Continue reading Include JSON Lottie files in Next JS Project