Skip to content

Instantly share code, notes, and snippets.

View tylim88's full-sized avatar

Acid Coder tylim88

  • Malaysia
View GitHub Profile
@tylim88
tylim88 / gist:1a473fd8ae9bd7e08d7d958aaa586f9c
Last active April 13, 2025 13:15
My stack focus on DX
1. NextJS - SSG
2. Tanstack Start - SSR (will replace Nextjs if SSG is available)
3. Cloudflare - functions, CDN, hosting and domains
4. Firebase - Auth
5. Zod - validation
6. PSQL - database
7. Drizzle - SQL ORM
8. Dayjs - lighweight date library
9. React - UI
10. Mantine - Components
@tylim88
tylim88 / service-workers.md
Created October 3, 2024 09:32 — forked from Rich-Harris/service-workers.md
Stuff I wish I'd known sooner about service workers

Stuff I wish I'd known sooner about service workers

I recently had several days of extremely frustrating experiences with service workers. Here are a few things I've since learned which would have made my life much easier but which isn't particularly obvious from most of the blog posts and videos I've seen.

I'll add to this list over time – suggested additions welcome in the comments or via twitter.com/rich_harris.

Use Canary for development instead of Chrome stable

Chrome 51 has some pretty wild behaviour related to console.log in service workers. Canary doesn't, and it has a load of really good service worker related stuff in devtools.