S
S
Speakermen2021-04-02 00:21:24
Laravel
Speakermen, 2021-04-02 00:21:24

How are spas made?

Good day. I am confused there is CSR, SSG, SSR, ISR, there is RestApi. If you use laravel + react + sanctum then it's bad for seo. I decided to use Next.js with React. There is also firebase, as I understand it, this is a replacement for backend. And somehow they use next.js + laravel for the rest api. next.js is a free and open source JavaScript framework built on top of React.js for building SSR applications. Next js is not an analogue of laravel? I can use for example NextAuth and create a spa. I can store only id and lang in jwt for further work. If firebase updates in real time in laravel use pusher or web socket

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan V, 2021-04-02
@Speakermen

If you use laravel + react + sanctum then it's bad for seo.

Right, since React is a CSR.
There is also firebase, as I understand it, this is a replacement for backend

It is truth too. But it is better to calculate in advance how much it can cost.
next.js is a free and open source JavaScript framework built on top of React.js for building SSR applications.

Yes.
Next js is not an analogue of laravel?

No, Laravel is a backend PHP framework, Next js is described above (it's a React framework for creating SSRs).
It's not entirely clear from the question what exactly you want to do. SPA can be done in different ways.
If the customer does not care about SEO, then you can get by with just React.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question