Blog

Q1 : When the context api is used?

Ans: Context API is commonly used in React applications to manage state that needs to be accessed by multiple components across the component tree. It provides a way to pass data through the component tree without having to manually pass props at each level.

Q2 : What is custom hook?

Ans: Custom hook in React is a reusable function that contains a set of stateful logic that can be shared between multiple components. Custom hooks allow you to extract reusable logic from components and create a standalone function that can be used across application.

Q3 : What is useRef in React?

Ans: useRef is a built-in hook in React that returns a mutable object with a current property. This hook allows you to keep a reference to a DOM element or any other value that you need to persist between renders.

Q4 : What is useRef in React?

Ans: useMemo is a built-in hook in React that allows you to optimize the performance of your components by memoizing the result of a function. This hook returns a memoized value that only recalculates if its dependencies change.

Profession Hunt

This process involves assessing your skills, interests, values, and goals, and using that information to research and evaluate different career options.

facebookinstagramtwiter

Company

  • Product
  • Project
  • Contact Us
  • About Us

Projects

  • Ema-jhon
  • Dev Tips
  • Food Hunt
  • Taklu IN

Support

  • Help Desk
  • Online Chat
  • By Email
  • By Phone

Contact

House No. 123,
Road No. 4 Block C,
Banani Dhaka 1213 Bangladesh

+8801700-000015

contact@pro-hunt.com.bd

@2023 Profession Hunt. All Rights Reserved

Powered by Job Dibo Company Ltd.