spacerror's avatar

React & Laravel setup

Hey does anyone know to set up this stack to use new syntax. When I do it like documentation describes I'm having issues with compiling.

I tried all of this. Nothing did the job. https://github.com/JeffreyWay/laravel-mix/issues/1402

I'm always getting error when under class I declare state = {}

0 likes
2 replies
ctwillie77's avatar

Why aren't arrow functions working in laravel 6 with react preset? Class components are working but not const and arrow functions.

Please or to participate in this conversation.