Material UI Basics
Introduction: Installation Button ButtonGroup Wrap buttons in ButtonGroup <ButtonGroup orientation=”horizontal/vertical” > <Button >But 1</Button> <Button >But 2</Button> <Button >But 3</Button> </ ButtonGroup> Checkbox Radio Button Slider marks={function_name} // to display…
Fetch Vs Axios
Using POST method in Axios is easier then fetch.* In Axios we only need to change ‘get’ with ‘post’ and add body in second parameter.const r = axios.post(‘url’,{‘name’:’aaa’}); * In…
How to pass data from child to parent in ReactJs
In React, passing data from a child component to a parent component involves using callback functions. This is because data flow in React is generally unidirectional, from parent to child.…
Differenciate State and Props in react?
In React, both state and props are crucial concepts for managing and passing data within components, but they serve different purposes and have distinct characteristics. Here’s a comparison of state…
User What is react fragment?
In React, a fragment is a special component that allows you to group multiple elements without introducing an extra DOM element. It’s often used to solve the issue of having…
Why is React so popular?
React has gained immense popularity in the web development community for several compelling reasons: Due to these factors, React has become the go-to choice for many developers and organizations when…
Pure Component in ReactJS
In React.js, a “pure component” refers to a specific type of component that aims to optimize rendering performance by automatically implementing the shouldComponentUpdate method. This method determines whether a component…
What Is Material UI
Material-UI is a popular open-source library for building user interfaces in React. It provides a set of pre-designed, customizable UI components based on Google’s Material Design guidelines. Material-UI offers a…