In the ReactJS, javascript error handling is not an easy job. There is not a consistent way to handle the error in ReactJs. Right now in React 15 or in the past the JavaScript errors inside the component corrupt the internal state and break the whole UI of the application, Means in React 15 or […]

Read More →

The fragment is a first-class component to wrap your child components and HTML elements instead of using any HTML element. Normal way of wrapping child component in render method render(){ return( <div> <Header/> <h1> Without Fragment </h1> </div> ); }   For above example, if you will not wrap the child component using <div> tag […]

Read More →