Skip to content

Instantly share code, notes, and snippets.

View Falconiere's full-sized avatar
🏠
Working from home

Falconiere R. Barbosa Falconiere

🏠
Working from home
View GitHub Profile
@Falconiere
Falconiere / SimpleComponent.js
Last active November 3, 2019 01:14
A simple component before hooks
import React, { PureComponent, Fragment } from 'react'
export default class SimpleComponent extends PureComponent {
constructor(props){
super(props)
this.state = { counter: 0 }
}
handleOnClick = e => {