React 2020 — P8: Class Props Destructuring

Dino Cajic
Dev Genius
Published in
4 min readSep 9, 2020

--

Dino Cajic discussing Class Props Destructuring in React

If you’ve looked at React code before, there’s almost a 100% chance that you’ve seen destructuring. If you look at most import statements for class-based components, you’ve more than likely seen something like this:

import React, { Component } from 'react';class ClassName extends Component { ... }

--

--

Author of An Illustrative Introduction to Algorithms. IT Leader with a B.S. in Computer Science, a minor in Biology, and a passion for learning.