What is special about React.js?
What is a Component in React?
Components are building blocks of React.js applications. It allows us to split the UI into multiple independent & reusable pieces. There are 2 main types of components in React. Functional components & Class components.
Read
Explain React hooks.
React hooks are special type of functions that allow developers to implement states & lifecycles in Functional components.
Read
What is a Higher Order Component (HOC)?
A HOC is a function that takes a Component as an argument and returns a new component.
Read
Can we replace the lifecycle methods present in class based components into functional components? For eg. componentDidMount(), componentDidUpdate(), shouldComponentUpdate() & componentWillUnmount()
Yes we can do that. Learn more in the GitHub documentation.
Read
What is Jest & Enzyme?
Jest is a popular JavaScript testing framework developed and maintained by Meta. It is widely used for testing JavaScript applications, specially those built with React & Node.
Read