Re:Astro 1.0 – a web framework for building fast, content-fo...
by Yiin on Wednesday August 10, 2022 @12:09AM
(#32407764)
because it's nice to know whether that `post` variable contains a property `createdAt` or `published` At without leaving the template. Arguing "I don't use it why should you" is unproductive.
[ Parent
| on HN ]
Re:Astro 1.0 – a web framework for building fast, content-fo...
by cercatrova on Wednesday August 10, 2022 @01:30AM
(#32408089)
Agreed, you get all the benefits of type inference even in a template. It's a pain to debug template variables that don't exist, I've written enough Handlebars to know.