1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Is Mixing SSR and CSR on the Same Page a Good Practice?

Discussão em 'Outras Linguagens' iniciado por Mostafa Aourik, Novembro 6, 2024 às 07:52.

  1. I'm working on an eCommerce project for learning purposes using Laravel. I want to know if it's okay to use both Blade templates and API endpoints within the same project and even on the same page.

    For example, I have a product page that I plan to build using a Blade template. However, I also want to include an area on this page where I can make JavaScript AJAX calls, such as for an "add to cart" feature. Is it acceptable to combine server-side rendering (SSR) and client-side rendering (CSR) in the same project and page?

    Thank you for your answers!

    Continue reading...

Compartilhe esta Página