Data binding in React with example
Data Binding in React: Data-binding is a technique that binds data sources from the provider and consumer together and synchronizes them. in React, there's no two-way data-binding. DataBinding means sharing data between components to view and view to components. So...
Events in React
Events in React import React, { Component } from 'react' export class Eventex extends Component { myevent =() => { console.log(this) console.log('Myevent is called'); } sendarg=(a,b)=> { console.log('Your Argument is '+a +" "+b) } method = (a) => { console.log('Method...
State in ReactJS with Example
State in ReactJS with Example The state is an instance of React Component Class can be defined as an object of a set of observable properties that control the behavior of the component. In other words, the State of a component is an object that holds some information...
React Props with example
React Props with example Props are the special keyword in react which is stand for properties Props may be used to make communication between parent to child. It is a unidirectional communication it means the data may be flow from parent to child only. Props can be...