I have preset react and I defined a class without the constructor setting the state or functions.
When I am working with create-react-app without laravel all is fine.
Is there an problem in the .babel configuration? How can I fix this?
Laravel Mix also ships with basic React support. Simply update your mix.js() call to mix.react(), and then use the exact same set of arguments. Behind the scenes, Mix will pull in and reference any necessary Babel plugins for React.