ReactJS

How to Use Context API in React

What is context ?In laymen term, Context means “the situation in which something happens or that caused something to...

Dec 12 · 3 min read >

How to pass a value to onClick event handler in React.js

The problem If you ever tried to pass a parameter to onClick event handler, you know that it is not straightforward....

Nov 18 · 3 min read >

20+ React Libraries to Jumpstart your Next Project

In the universe of npm, there are a lot of packages to choose from, so knowing which one to...

Oct 28 · 1 min read >

Stop Using “&&” for Conditional Rendering in React

Avoid bugs by not using `&&` in React components If you’ve seen any React application, you know how to...

Oct 19 · 1 min read >

Why do I need props?

If you are new to React, you may be wondering what that props business is all about. Components make sense. But...

Sep 15 · 4 min read >

What is the difference between functional and class-based React components?

React offers two ways to define components: they can be functional or class-based. If you are new to React,...

Sep 6 · 4 min read >

What is React.PureComponent and when to use it

React 15.3 introduced PureComponent – a new way of implementing class-based components. It is now available to us alongside function-based components...

Sep 2 · 2 min read >

10 Best Practices Every React Developer Should Follow

Writing a clean react code is definitely a hard task for any new developer but using React best practices...

Feb 2 · 4 min read >

Introduction To React.js

Well hello web developer world. Starting with this tutorial, we are going to start investigating React.js – a ridiculously...

May 13 · 6 min read >