A
A
Alex Mirgorodskiy2017-12-29 21:57:16
React
Alex Mirgorodskiy, 2017-12-29 21:57:16

0 in React, the question is - is it worth using React in a multi-page site?

Hello everyone, friends in the react are full of zero, I thought to teach not to teach, in the end I decided to familiarize myself superficially. Still at the stage of acquaintance with webpack. But I can't wait to see if react works for my purposes.
In general, I realized that React works quickly with a change in the DOM tree, and will allow you to make a single page application, but everyone is talking only about landing pages or about a big blog. My task is to make an almost ajax site, so that transitions between pages occur without reloading the page, changing small or large blocks. I tried AJAX or PJAX, but somehow it’s all sad, there is no stable work, it lags, then it doesn’t work, well, in the end I was informed that AJAX and PJAX do not do such things, and sent me to frameworks like React , Angular and the like. And the question is, can I use React as a better alternative to regular Ajax requests? Please no trolololo because I still don’t understand React at all)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Aleksandrovich, 2017-12-29
@RomReed

To pull data from the backend, you still need Ajax

D
davidnum95, 2017-12-29
@davidnum95

And the question is, can I use React as a better alternative to regular Ajax requests?

It sounds like "A car alternative to wheels?". Before you ask this, you should at least superficially study the question, because there is a wagon and a small cart on the Internet.

O
Oleg Gamega, 2017-12-29
@gadfi

Still at the stage of acquaintance with webpack.

at the learning stage, and not only is it quite suitable https://github.com/facebookincubator/create-react-app
you have that mess in your head, but if without unnecessary wit, then yes, react is suitable for a multi-page site with a complex interactive interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question