Skip to content

IT Notes

IT Notes

  • Home
  • Privacy Policy
  • Sample Page
    • Home
    • 2023
    • May
    • Page 2
React JS Interview Questions

What is ComponentWillMount()

componentWillMount() is to make API calls once the component is initiated and configure the values into the state. To make an API call, use an HttpClient such as Axios, or…

React JS Interview Questions

What is refs?

Ref are an attribute of the DOM elements. The primary purpose of the refs is to find the DOM elements easily.

React JS Interview Questions

State the difference between getIntialState() and constructor()?

If you want to create one component by extending ‘React. Component’, the constructor helps you to initialize the State. But, if you want to create by using ‘Reat.createClass.’ then you…

React JS Interview Questions

How can we do server-side rendering in React?

We can use reaction serve to do the server-side rendering.

React JS Interview Questions

List down some of the methods in a react-dom package

Important methods for react-dom packages are: render() hydrate() createPortal() unmountComponentAtNode() findDOMNode()

React JS Interview Questions

Why do you need to use props.children?

This props.children allow you to pass a component as data to other components.

React JS Interview Questions

What are Controlled Components?

Controlled components are component which controls the input elements.

React JS Interview Questions

What is the main difference between createElement and cloneElment?

createElement is used by react to create react elements. cloneElement is used to clone an element and pass it new props.

React JS Interview Questions

What are Fragments?

You can use fragment keyword to group a list of children components without using any extra nodes to the DOM. For example : render() { return ( ); }

React JS Interview Questions

Explain react hooks

React hooks allows you to use State, and other React features without writing a class.

Posts navigation

1 2 3 … 92

« Previous Page — Next Page »

Recent Posts

  • Explain the for keyword
  • Explain the enum keyword
  • Explain the if-else statement
  • Explain double and float data type
  • Explain the do keyword

Recent Comments

No comments to show.

Archives

  • November 2024
  • August 2024
  • July 2024
  • April 2024
  • September 2023
  • May 2023

Categories

  • Android Interview Questions
  • Angular JS interview Questions
  • C Programming
  • C Programs
  • C++ Programming
  • Codeigniter Interview Questions
  • Computer Network
  • CSS Interview Questions
  • HTML Interview Questions
  • Java
  • Java Interview Questions
  • Javascript Interview Questions
  • jQuery interview Questions
  • Laravel Interview Questions
  • Mobile Application Development
  • MySQL Interview Questions
  • PHP
  • PHP Interview Questions
  • Python
  • Python Interview Questions
  • React JS Interview Questions
  • Software Engineering
  • System Analysis and Design (SAAD)
  • Uncategorized
  • Vtiger CRM

You Missed

C Programming

Explain the for keyword

C Programming

Explain the enum keyword

C Programming

Explain the if-else statement

C Programming

Explain double and float data type

IT Notes

Copyright © All rights reserved | Blogus by Themeansar.