In this tutorial we are going to create simple member registration form with Reactjs. Form data handling is much more easier with Reactjs. Form validations are discussed in later. import React from 'react'; export default class form extends React.Component { constructor(props) { super(props); this.state = { fname: "", lname:"", city:"" } }; updateState(e, name) {
Here we are discussing new features added to new Reactjs 16 which was released at the end of 2017. There are cool and awesome stuff to discussed. Everything you may need to know will be listed below. 1. Add new Render types called fragments and strings In render method you can now return array of elements and
Learn how to pass data (values) from ReactJS Component to another component. In Reactjs it is called props. Props are the values you passed from component to component. Props are immutable data. You can easily pass data from parent Reactjs Component to child component using props. Step 1: Create Parent Component (Component 1) Here we