Arrow function as class function in ES6

If you’ve been using create-react-app and tried to build things on your own you might have done/seen/used handleClick = () => { // do thing on click } This comes from the Class properties transform plugin from Babel: So if you try to build a project on your own you’ll need to include it […]