'Should I use laravel/ui to integrate ReactJs into a Laravel project

Is there benefits or downsides to using composer require laravel/ui for scaffolding a Laravel with ReactJs project instead of installing ReactJs with npm manually and editing webpack.mix.js

mix.js('resources/js/app.jsx', 'public/js')
   .react();

Is there a conventional/better way to bring ReactJS to Laravel?


  1. Am I likely to miss a setting if I do not use laravel/ui
  2. Will I be enforced to follow some absurd rules if I use laravel/ui
  3. Does laravel/ui really makes the setup easier.

...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source