armful (@armfuldev) header
armful (@armfuldev) profile picture

swe and disc golfer

stockholm
Joined December 2016
Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)Photo by armful (@armfuldev)
armful retweeted
the timeline delivers..
We're adding support for AGENTS.md to Claude Code. Starting today in version 2.1.277, if there is no CLAUDE.md in a folder, Claude will check for and use AGENTS.md. You can toggle this behavior in /config.
1
1
30
864
armful retweeted
Migrates your project over to @convex
So what does the Supabase key do?
33
9
1
520
24,716
armful retweeted
Introducing Better Auth Referral A simple Better Auth plugin for adding user referrals to your app. - Unique referral codes with built-in collision retries - Tracks and validates referrals during email signup - Prevents self-referrals - Referral stats and paginated referred-user lists - Optional email masking and custom post-signup callbacks - Fully typed client APIs - Open source and MIT licensed
18
18
4
334
21,930
9️⃣3️⃣ followers remaining
5
1
3
33
4,208
Unfollow and don’t speak to me if this is the America you want to live in The cruelty is the point.
Seeing the facade of justice in court was extremely disturbing. Our govt is looking for every strategy to bypass due process and fast track deportations. When we use court to trap people, we actually incentivize not showing up. Is that what we want?? americamagazine.org/politics…
2
1
35
3,961
Replying to @better_auth
We've added universal item support to the registry. Any framework. Any language. Now you can distribute code, config, workflows, mcp, agent rules. Anything. Here's me adding better-auth to @nuxt_js: auth client, middleware, pages. "npm" for application & infrastructure code.
1
2
35
2,041
We just released better-autumn A @better_auth plugin to integrate your app's pricing plans and Stripe in the easiest way possible
21
21
4
339
39,437
🚀 oRPC v1.6.3 is live with live query options Compatible with all kind of Event Iterator, Durable Event Iterator, Hibernation Event Iterator, ...
Who wants this, @convex alternative?
11
10
1
143
27,803
Pretty wild to see @Resend at Times Square. We've been included in the @Redpoint InfraRed 100, which is a list that recognizes the top private companies in cloud infrastructure.
17
6
176
8,212
What a time to be alive
33
49
13
1,376
114,028
Here's where we're headed with caching in Next.js. Last month, we shipped a release candidate for v15, which starts to address some of the community feedback on caching. tl;dr many parts are no longer cached by default. In Next.js 15, if I make a fetch to some API, or make a database query, the result is not cached. This is something dynamic. If you want to cache the data, you can opt-in to this behavior. You need to be explicit. I've seen a few questions floating around that I'd like to clarify 😁 What is prerendering? Prerendering is where we try to generate a static HTML page during `next build`. This is separate from caching data fetching or database queries. Today, there's "all of nothing" prerendering. Either your entire page is static, or it's dynamic from using a function that reads the incoming request. Ideally, we could have both together: send the static parts of the page to all users, while streaming the dynamic parts that are unique to the user. Why is local development different than production? When you're running your local dev server, and you reload the page, your components fetch new data—the results are not cached. You expect to see fresh data. In production, you might want to prerender the entire page to HTML and serve the same rendered page to all users. When you create a production build, Next.js tries to prerender the application routes (since Next.js 9). In the Pages Router, this happens automatically when you don't use `getServerSideProps`. You can do additional data fetching for a static route using `getStaticProps`. Using `getServerSideProps` will opt you into dynamically rendering the route. In the App Router, and with Server Components, you can fetch data from components. But just because I'm fetching data, doesn't always mean I want that component to be dynamically rendered. Some of my Server Components should be able to be prerendered to static HTML. This isn't as explicit as the Pages Router APIs. Your page only becomes dynamically rendered when you read something from the incoming request. For example, reading `searchParams`, `cookies`, or `headers`. Doing a `fetch` does not automatically make the page dynamic today, because you might want that component to be prerendered. Why not prerender in local development? We believe the local dev experience should be as "lazy" as possible. Pages should compile on demand; you wouldn't want to wait for every single route to compile before you can get started. Prerendering every route on save would be slow, which goes against our ambition to keep improving Fast Refresh times. With Fast Refresh, you can make a change to your code, hit save, and see the application update near instantly without losing your current client state. I understand the desire to know whether the page will be prerendered or not during local dev, though. We used to show an icon in the bottom right of the screen, if the page would get prerendered. We're bringing this back! Where are we headed with Next.js? With the v15 stable release, we'll be writing more in the blog about our plans for the future. Our goal is to make all async operations (like doing a `fetch`) opt into dynamic rendering, similar to how using `headers` opts into dynamic rendering. We believe Partial Prerendering will become the default way of building Next.js applications. In this world, routes can be both static and dynamic. Even if the majority of your application is dynamic, you can still have a "shell" of your application that gets sent to the browser immediately, and then have the rest of your page (the dynamic parts) stream in parallel. This shell could even only be the link preload headers, for example. If you want more of the route to be included in the prerender, you can wrap the dynamic parts of your page in React Suspense to define a fallback state. Next.js can then prerender up to that Suspense boundary as part of the build process. When serving the page, the user is immediately shown the prerendered HTML while simultaneously streaming the dynamic parts of the route. Partial Prerendering is fully supported with `next start` (the production Next.js server) and is experimental today. When can I try this out? Next.js v15 stable will be released soon, which includes the previously mentioned default caching changes. Either in v15.0.0 or in a minor version soon after, we'll allow you to try the vision above for where we're headed behind an opt-in flag. We're taking time to validate these early features with our own applications, some early partner customers, and the community to ensure they're well tested in large Next.js applications. We're also working on simplifying the existing caching APIs and building DevTools for Next.js, which we feel are important pieces for completing the vision. More on this soon! In conclusion, with Next.js 15: • `fetch` requests are no longer cached by default • Route Handlers are no longer cached by default • Client-side navigations will no longer keep a cached version of the last page for 30 seconds when using `<Link>` or `useRouter` We'll also make it easy to keep the existing behavior, if you prefer, in the upgrade guide. Okay, that's all for now!
42
85
9
664
89,996
When @cramforce joined @vercel he came with an instruction manual 😁 I still think back on it all the time when we collaborate. Highly recommend • Background • Values, principles, beliefs • Engineering style • General style • Stuff I do • Personal
33
40
10
914
148,668
Probably the most underrated ability in software engineering: the ability to QA your own product. Also a big part of why we created @vercel. Whether a patch “LGTY” should be predicated on the product experience (deployment url), not just the code diff.
9
12
3
150
53,928
why do i even bother
33
5
1
611
39,316
Shad's Law: If a component is styled with Tailwind classes, it should not be published to npm but instead be made available through a @shadcn-style copy-pasta CLI.
9
8
1
152
45,459
Soon you’ll be able to create individual .prisma files for each table in your Prisma Schema 🤩 Incredible quality of life DX improvement from the @prisma team 👏
25
18
11
356
34,301
armful retweeted
Launch Week → Day 5 We're excited to introduce React Email 2.0, featuring: 1. Re-imagined preview experience 2. Massive performance improvements 3. New components 4. Deployment to Vercel 5. Better support for monorepos
14
44
7
621
76,734
armful retweeted
localhost is the fastest server
154
77
20
916
45,139
Quality of life improvement: @nextjs can now run with HTTPS locally 🔒 `next dev --experimental-https`
96
225
41
2,420
333,527