Absolutely great idea with a video showing how to develop the dashboard with some sidebar menu, crud, data tables, etc. 👍👍 Very very limited documentation out there on how to use Astro to develop more interactive web apps.
yes, "hybrid" mode makes all pages and components prerendered by default. but you can't make prerender = false for some of the components only the entire page. So if you want to use a static prerendered html page but make only one component as SSR you should use server islands
Client Side Fetching means , javascript will be shipped to the client , which need to be downloaded and parsed , and we can't really do any confidential stuff there like playing with database , we need to have a separate server running for catering request . While in case of islands , they run on the server ,so we are free to do any thing and the result will be fully rendered html , better performance.
Thanks for this tutorial, can't wait for the dashboard tutorial.
Absolutely great idea with a video showing how to develop the dashboard with some sidebar menu, crud, data tables, etc. 👍👍 Very very limited documentation out there on how to use Astro to develop more interactive web apps.
This seems to be similar to Nextjs partial static rendering correct?
What is the app you use for the database at 12:20?
Its Xata
Doesn’t “hybrid” already makes all components and pages to prerender? Export const prerender = “true” is the default I believe.
yes, "hybrid" mode makes all pages and components prerendered by default. but you can't make prerender = false for some of the components only the entire page. So if you want to use a static prerendered html page but make only one component as SSR you should use server islands
What is the difference between doing the same thing in SSG mode with the client fetching the required data?
Client Side Fetching means , javascript will be shipped to the client , which need to be downloaded and parsed , and we can't really do any confidential stuff there like playing with database , we need to have a separate server running for catering request .
While in case of islands , they run on the server ,so we are free to do any thing and the result will be fully rendered html , better performance.
no difference. server island add client script to fetch but just html generated by server (SSR) not json
First 🤟
First answer to first comment 🤘