The React hook pradigm The first thing you learn about React it the class based approach: class Welcome extends React.Component { render() { return <h1>Hello, {this.props.name}</h1>; } } Enter fullscreen mode Exit fullscreen mode which at first glace may be confusing new users. Why do we need to create a new class for every single…

Read More