D
D
Dmitry2020-07-28 10:21:48
React
Dmitry, 2020-07-28 10:21:48

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

1 answer(s)
A
Alexey Ukolov, 2020-07-28
@RedNet

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.
To the question "why do you need react" you will find a huge number of answers in the search engine.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question