L
L
lenton2015-01-31 11:33:27
JavaScript
lenton, 2015-01-31 11:33:27

React.js on client project with "fat" server?

Hello.
Never worked with react yet. Just read about him. There is a project on php MVC framework. Everything is rendered on the server. The client uses jquery plugins, both its own and third-party ones. Their plugins actively use AJAX to communicate with the server. There is a single style code for their plugins. Everyone is already used to this, but it’s hard to debug all this, because, for example, there are plugins that throw some kind of event that is caught in another plugin)) And in general there are a lot of unpleasant little things in this approach ...
It seems to me that frameworks like Ember, Angular, etc. in no case should you bet on the client in this project, this is fraught with an architectural disaster.
Is react suitable here as a solution for the client in return for its jquery plugins and why? Or do you recommend anything at all?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey M., 2015-01-31
@renya

Hey! Of course, you can use ... The initial rendering will be on the server, everything else on the client.
> Why?
Well, probably because something does not suit you in the current architecture. :)

A
aen, 2015-01-31
@aen

You have obvious problems not at the level of choosing a framework / library, but at the level of client architecture. React.js won't help you here. You will write darkness on it in exactly the same way, and in the same way you will toil with their debugging.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question