T
T
testkeyc2020-02-27 08:45:35
React
testkeyc, 2020-02-27 08:45:35

What are the benefits of using react?

Hello. What are the benefits of using the react library? Previously developed projects on cms. They generated markup on the server. I decided to try to connect react with wordpress and get data via api, but so far I don’t see any pluses from this technology, I see only minuses, which are that there is much more code and you have to install extra plugins to generate reset.

I thought that by connecting via api, the site would work faster. will load only the content without refreshing the page as a whole.

Will there be a plus from this approach or will it be better to do everything standardly. wordpress and other engines still do not provide such opportunities?

Maybe I did not understand something, which is most likely. Then tell me in which projects is it better to use react and why is it so popular?

Thank you all for the answers

ps react I'm just studying, I still don't understand a lot))

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
Teymur Salymzade, 2020-02-27
@testkeyc

React is mainly used to create user interfaces for js applications. react also uses a component approach, you can break the UI into several components that can be used many times, which helps to avoid code copying. using it with wordpress probably doesn't make sense because wordpress has its own approach to creating web pages. The essence of this library is to separate the front end into a separate application that communicates with the back end via API. what language is used in the back end is not important. If you want to create websites, blogs and single page applications, you can look towards React + Firebase, or React + GraphQL (API) + MongoDB (NoSQL).
All this is worth learning, these are modern technologies that are now used everywhere.
There is a great youtube channel webDevdedicated react.
I wish you good luck and productive working days)

0
0xD34F, 2020-02-27
@0xD34F

If you don’t see it, then obviously there are no advantages for you. Forget react.

R
Ruslan Radionov, 2020-02-27
@Rusilius

Our react is SPA. And the advantage (this is not only react but also any front framework)
1. Division of labor.
2. Increasing the speed of development (from item 1) *
3. Greater professional training of personnel. If everyone is responsible for a certain pool of technologies*
4. Greater application speed. We left web forms and it was right.
5. Both asynchrony and batch loading of data is point 4
* unless, of course, one person does everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question