Frameworks at @cloudflare ☁️ Astro core maintainer 🚀 Prev Netlify, Gatsby. Made Unpic. 🦋 bsky.app/profile/mk.gg 🌳 unpic.pics

Imber
I'm going to try and spend less time here. You'll find me over there: bsky.app/profile/mk.gg
2
1,900
It seems ChatGPT Search solves the problem of out-of-date API knowledge. I asked it how to build an Astro content loader (a beta feature). Regular ChatGPT hasn't a clue. Enable search and it gives a perfect answer.
1
15
3,671
Entirely hallucinated!
96
🦕💚🚀
Building an Astro project has become even simpler with Deno 2 👇️ deno.com/blog/build-astro-wi…
1
12
1,347
I removed dotenv from my Node app and moved to --env-file flag on startup script. Then that let me remove a dynamic require and my app startup time went from 1300ms to 1ms
37
86
2,078
192,509
Wasn't the point of Wes's tweet the fact that Node and Deno do support .env natively?
1
130
We should make the moon a state.
the atlantic called me with a fact check this week and asked "do you believe, literally, the moon should be a state?" and you're blackpilling?
7
1
84
10,005
That's clearly a star
48
Matt Kane 🦋 @mk.gg retweeted
I'm playing around a bit with @astrodotbuild Content Layer API, and apart from the amazing DX, it is much faster than fetching API the old way 🔥 I'm just fetching some data using WordPress REST API. But I'm guessing the more fetches the difference would grow. cc @AndrewKepson
1
5
27
1,834
So, what about this DX then?
7
58
11,376
We’ve done a lot with sessions in Blitz auth. I’m happy to chat and share learnings. Main thing I see missing is you’ll want a sync mechanism so users can choose to sync some fields across all sessions (like user roles and permissions). In blitz you can define which fields will be synced and which won’t.
1
314
Interesting. Yes, I'd love to hear more because I don't fully understand it right now. I'll have a look at your docs.
1
130
Okay hear me out: session primitive. Pluggable with your favorite storage provider (Netlify Blob, Upstash, Cloudflare KV...)
7
10
264
19,798
Replying to @ascorbic
use proxies and keep the = syntax 🙃
1
2
365
Sadly, depending on the backend, we may have to make the getter async
1
308
JavaScript developers dream of this DX
17
190
40,965
So, what about this DX then?
20
3,760
Netlify is the only place outside of Vercel where Next can be deployed on a serverless front-end cloud with support for all the advanced features. Today we're joining Open Next and starting to share our expertise with the broader community to help make Next run on more platforms.
🤝 We're moving our open-source Next.js adapter to the OpenNext GitHub organization and will begin collaborating across providers, like @Cloudflare and @SST_dev, to make sure Next.js runs well everywhere. bit.ly/40m6I9z
11
29
512
99,473
That's great news!
2
675
Is Vercel KV no longer a thing? It's not in the dashboard, though the Upstash marketplace integration is there. Is Postgres going to go the same way?
1
10
2,185
Thanks! Look like if you try to deploy a template that relies on KV it just hangs now.
286