K
K
kr_ilya2019-05-27 21:04:45
Frameworks
kr_ilya, 2019-05-27 21:04:45

Which js framework / library to choose for SPA + SSR?

What framework to choose to create a single page application with ssr? I was considering nuxt.js (a wrapper over vue.js), but during development (or rather, migrating an application from pure vue without ssr to nuxt), I found a lot of code details that simply did not want to work the way they were written for pure vue (quite strange) . The modified routing system also played a role. It seems to get tired, but can there be something better? I have not come across other frameworks, so I want to ask you, what would you advise?
1. It is necessary that there is support for ssr + spa.
2. Ease of use.
3. Popularity, so that you can find answers to the questions posed.
4. The presence of plugins, extensions.
Well, something else good))

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TarasKhust, 2019-05-27
@TarasKhust

React + Nuxt.js

G
grinat, 2019-05-27
@grinat

No code will work for you under ssr if it is written for a browser, because noda is not a browser. Usually two bundles make one for the client, the other for ssr, or there is another option, this is to mock a bunch of browser APIs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question