
Diego retweeted
I don’t usually overreact to AI hype, but GPT Images 2.0 is actually insane. I got this landing page sketch for Inkdrop from a one-shot prompt that included summaries of my app concept, the new features in v6, and my recent blog posts about Japanese culture. I never imagined web design could become like this. It’s so funnnnn.
Diego retweeted
The most recent update of VSCode now includes support for custom editor labels. This feature is especially useful for Next.js projects! I shared the configuration to improve pages display.
Diego retweeted
Astro built a database platform. How does it work?
👇 Here's a crash course to configuring, seeding, developing, pushing, CI automation... everything!
Diego retweeted
Can't believe I got this working 🤯
Live preview of a Blender scene with the Vision Pro.
Diego retweeted
Introducing: Astro DB
Add a hosted database to any Astro project in seconds. Includes a TypeScript ORM, schema manager, and automatic migrations out-of-the-box.
Try it today! Every database comes with a generous free tier for you to get started.
astro.build/db/
Diego retweeted
Must visit websites if you're a Web Designer/Developer:
1. Mobbin
mobbin.com
2. Flames
flames.design
3. Footer
footer.design
4. Dark
dark.design
5. Awwwards
awwwards.com
6. Refero
refero.design
Diego retweeted
🔥 New React core hook ➡️ useActionState
Fix confusion/limitations of the useFormState
- Renames useFormState to useActionState
- Returns pending state
- Moves the hook to react package instead of react-dom
👍Looks better
Now React Native devs can use it too! 🥂
Diego retweeted
SSR (left) vs CSR (right)
Simulated slow internet and slow server processing. The network request takes 3 seconds, processing the request takes 3 seconds.
When I click on a navigation link, that link should immediately reflect my action by turning bold, the url should update to the new path, and hopefully I get some sort of loading indicator on the page.
If i'm using SSR, and I have a slow internet connection, then it can take a while to acknowledge the user action which makes the app feel broken.
My nav bar UI reflects the state of the url and it takes the url 3 seconds to change. The loading skeleton also needs to be downloaded from the server, which takes 3 seconds.
Obviously the CSR version is a better user experience in this case. This is the out of the box behaviour, like follow the intro "hello world" tutorial and you get this behaviour.
I'm using next 14 app router and my skeleton is a server component.
How do I get my SSR Next.js app to give me the user experience of the CSR app?
































