React 2020 — P8: Class Props Destructuring
Published in
4 min readSep 9, 2020
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 { ... }