Better HN
topnewbestaskshowjobs
Log inSign up

jpjuni0r

5 karma · joined Dec 12, 2018 (7y ago) · 5 submissions

Submissions

comment 1y ago · link · parent

> if you use simple unchanged files for other dynamic stuff like JSON etc, you can just generate those on build and serve those files in the host directly

Other web frameworks support this too, if you look for "static export" options. Next.js, for example, supports this via the getInitialProps function.

What I like especially about Astro, that you perform this data loading during build time from any component/file on your page. With Next.js, this is only possible via the top level Page component.

comment 5y ago · link · parent

That way the site can hide the cookie banner for you and continue to show it for new visitors (which have no cookies set)

comment 6y ago · link · parent

I'm curious what made you decide against Phoenix live view with an elixir backend

comment 7y ago · link · parent

I'm curious how sscanf is considered bad?