Router in ReactWhat is Router? React Router is a standanrd library for routing in react. It enables the navugigation among views of various components in a react application, allows changing the browser URL,and keeps the UI in sync with the url. React Routing is ...Mar 17, 2023·4 min read
De-StructuringWhat is De-Structuring props and state? Destructuring is a characterstic of javascript. it is used to take out section of data from an array or object,we can assign them to new own variable created by the developer. In does not change an array or a...Mar 6, 2023·2 min read
Constructor In Reactwhat is Constructor? Constructor is a member of class. Constructor is a used to initialize the onject. Constructor automatically called when an object is created. export default class User extends Component { constructor (){ super...Mar 6, 2023·3 min read
Default Or Named ExportES6 provides us to import a module and use it in other file. ES6 provides two ways to export a module form a file: named export default export Default Export: (export default) One can have only one default export per file. when we import we ...Mar 5, 2023·2 min read
Arrow Function in React JSWhat is Arrow function? arrow function allow us to write shorter function syntax. const App = () => <h1>aroow function</h1> it gets shorter, if the function has only one statement, and the statement returns a value, you can remove the brackets and t...Mar 4, 2023·1 min read
PropsWhat is props? props stands for properties. Props are arguments passed into React components. Props are passed to components via HTML attributes. Send props in index.js file and use in our component file,React Props are like function arguments i...Mar 4, 2023·4 min read
React Componentwhat is react component? component are independent and reusable pieces of code. Components come in two types, Class components and Function components, in this article we will concentrate on Function components. Function Component components are l...Mar 2, 2023·2 min read