H
H
Hersir2019-09-09 23:09:37
Spring
Hersir, 2019-09-09 23:09:37

Which framework to choose for the front in Spring MVC?

Hello everyone. Please tell me, does it make sense to use react js for a multi-page application on spring mvc or jQuery forever? I want to use it (react), it is not clear how profitable it will be if basically everything is done on the server

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Frozen Coder, 2019-09-10
@Hersir

If you are doing just for yourself, then choose what you want. If you are doing this for work or you need someone to justify your choice, then ask yourself - what problem does this solve?
You write that you have a multi-page application and basically everything is on the server. Any react-angulary and so on. designed primarily for creating a single-page client application with complex logic - is this your case, do you really need to drag a lot of js to the client? If not, then write a good old multi-page application with some kind of template engine and js (you can take ts, you can write vanilla.js, you can use jQuery).
If you still need a single-page application, then your server needs to be rewritten a little so that it interacts with the outside world through some kind of REST, and then the server will not care what you will do on the frontend.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question