Answer the question
In order to leave comments, you need to log in
What are the benefits of using React in Laravel?
If I'm making an online store, why should I use React or another js library (Vue, Angular) in PHP frameworks (Laravel, Yii) if everything you need is already there, including a built-in template engine, working with models, ORM, routing, etc.?
Ajax and other helper functions for the forward end can be written simply in js. In essence, React provides only convenient work with data and views. But it also exists in the PHP frameworks described above.
Answer the question
In order to leave comments, you need to log in
But it also exists in the PHP frameworks described above.Yes, but this works on the server, and React on the client. These are fundamentally different scenarios for using the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question