Hey Dean. I've been doing a fair amount of work with Astro recently, so might be able to help.
I'm not 100% sure on what issue you are explaining, but it could be that you need to set a 'client directive' to tell Astro that your 'island' is dynamic.
https://docs.astro.build/en/reference/directives-reference/#client-directives
d
Dean Leigh
04/19/2024, 8:54 AM
I think you are right and saw that at some point. I don't know how beneficial it would be to have lived data versus some of the workfkows that publish the static pages on publish in Umbraco.
p
Prenders
04/19/2024, 8:59 AM
Yeah, definitely value in it for sure.
Astro's different in it's approach, as it ships zero JS by default, and you have to tell it if a component is dynamic, which essentially makes it an 'island'.
I think going along with this thinking is a good approach. So endeavour to make everything static, unless there is good reason for it not to be.
r
Rich G
04/19/2024, 9:46 AM
hey,
We're currently doing Umbraco - Gatsby builds but are looking at switching to Astro
Appreciate all the info here!
If anyones up for setting some type of working group / sharing around Umbraco & Astro would be super keen to be involved.
Though we are very early in our investigations so we'd probably be getting more info that we're giving!