News for hackers. Stuff that matters.
Re:Ask HN: Do you need more than front end and Firebase educ... by Scarbutt on Wednesday April 29, 2020 @04:22PM (#23023773)
SPAs are a lot of work to get right, if you want to stay within JS, node/express/postgres and Pug/html/css(with some sprinkled JS) would be faster and simpler IMO. You can still use Firebase's auth feature from the server.
Re:Ask HN: Do you need more than front end and Firebase educ... by pier25 on Wednesday April 29, 2020 @04:30PM (#23023868)
> SPAs are a lot of work to get right

I agree. It's trivial to render a component based on a route change but there are so many little problems and moving pieces after that.

I've been doing SPAs for 5-6 years and for my current project I've moved to SSR + hydration with Svelte.

Re:Ask HN: Do you need more than front end and Firebase educ... by el_dev_hell on Thursday April 30, 2020 @07:23PM (#23037453)
What are you using for SSR with Svelte?
Re:Ask HN: Do you need more than front end and Firebase educ... by pier25 on Thursday April 30, 2020 @07:41PM (#23037571)
I'm using Cloudflare Workers but I made a little demo with Node and Fastify here:

https://github.com/PierBover/svelte-ssr-example