Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
Nice tutorial Enrico. I was wondering, what about if I want to make a request to the nginx server's endpoint from the react front end ?
What if you want routing to work?
Thanks, with this method is it possible the prerender for seo?
Did you find a solution for this??
Thanks, if I load react via express, where do I have to implement the API call. In the React app or in Epress Server.js
On the Express server you implement the API itself. You call the API from your React App
Actually is this SEO friendly or no??
There is no SSR in the example, so no.
May I ask what's the difference between react + express + nginx vs react + nginx?
Sure, the one with expressJS is actually ExpressJS that serves the static files whereas the other one is NGINX serving the static files :)
@@EnricoPortolan thanks!another question.which one do you recommend for routing frontend service? Express or nginx?
@@BP-qy2pb I'd go with Nginx serving the static files because it's simpler to split your client side from your API server
@@EnricoPortolan Hi, thanks for sharing. I have the exact same question. If react + nginx works faster and simpler, why should we use another express to serve? Is there any advantage about this architecture? Thanks
no detail !
Nice tutorial Enrico. I was wondering, what about if I want to make a request to the nginx server's endpoint from the react front end ?
What if you want routing to work?
Thanks, with this method is it possible the prerender for seo?
Did you find a solution for this??
Thanks, if I load react via express, where do I have to implement the API call. In the React app or in Epress Server.js
On the Express server you implement the API itself. You call the API from your React App
Actually is this SEO friendly or no??
There is no SSR in the example, so no.
May I ask what's the difference between
react + express + nginx
vs
react + nginx?
Sure, the one with expressJS is actually ExpressJS that serves the static files whereas the other one is NGINX serving the static files :)
@@EnricoPortolan thanks!
another question.
which one do you recommend for routing frontend service? Express or nginx?
@@BP-qy2pb I'd go with Nginx serving the static files because it's simpler to split your client side from your API server
@@EnricoPortolan Hi, thanks for sharing. I have the exact same question. If react + nginx works faster and simpler, why should we use another express to serve? Is there any advantage about this architecture? Thanks
no detail !