Closed
Description
Sorry if this already has been posted, but i didnot find in issues with keyword "class properties".
My problem is basically at every new project i start with CRA and then starting to right my components, ESLINT complains about unexpected token =
.
Thing is i always start implementing my components with :
static propTypes = ...
static defaultProps = ...
static contextTypes = ...
state = { ... }
method = () => { ... }
etc ...
Research told me these are all under the concept of "class-properties", i thought CRA has already included ?
I'm on Windows10, node 7.9.0, CRA 1.3.0, and almost nothing installed globally besides yarn and npm-check.
Do i have to install (or write) something else on top of CRA's base installation ?