React Class Components V.S Functional Components Using Hooks (Part I: Deep Dive Into React Hooks Series)

  • bulky (they usually take more code to write and are slower to compile)
  • A challenge to test and debug (the logic of the various lifecycle methods can get confusing)
  • A bit tricky (you must be intimately familiar with the keyword “this”)

useState( ) Hook

useEffect( ) Hook




Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Microservices from Scratch (1): Project Overview

Java Script — Var, Let and Const

You should install these 10 extensions right now

Building a realtime chat app with GraphQL Subscriptions

Stop Learning From React Tutorials That Suck

How to run UI Tests

A journey of how we cloned Croma website using MongoDb,Express,NodeJs.

Why and how use environment variables in your Nodejs projects.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Software Engineer

More from Medium

My Time In React.

Optimization Techniques in React Apps

React.js Showing A Blank Page