-
-
Save ohansemmanuel/915f9080d198ee4d778b629d2b88b42d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component, PureComponent} from "react" | |
//before | |
class I extends Component { | |
render() { | |
return <span className="faint">I </span>; | |
} | |
//after | |
class I extends PureComponent { | |
render() { | |
return <span className="faint">I </span>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment