Maxi
banner
maxizipitria.com
Maxi
@maxizipitria.com
Here's how i'm using the directive:
```
async function getAllCards() {
"use cache"
cacheLife("weeks")
```

The function doesn’t take any arguments (which I believe it should make it easier to cache?)
January 17, 2025 at 4:06 PM
The attached GIF shows it trying to read from the cache, but it’s a miss (even though the entry is only 6 minutes old). It then updates the cache to revalidate after 7 days. 🤔

Am I misinterpreting the logs? If not, why does it store the value in the cache again right after?
January 17, 2025 at 4:06 PM
My biggest beef with Lucide is the icon names in React not including the Icon subfix
November 21, 2024 at 5:45 PM
I thought you were working to fix it, did I dream it? Lol
November 8, 2024 at 7:44 PM
Not strictly about RSC, but:
bsky.app/profile/maxi...
Is there any plan to have "isomorphic" components? Like say for example I want to publish an npm package that has a component that makes a fetch call. There's really no reason for this component to be exclusively a RSC. My users should be able to install it and use it even on SPAs.
February 10, 2024 at 1:04 AM
But when possible (like using it in Next) it should behave exactly like a server component.
December 25, 2023 at 2:32 PM
Is there any plan to have "isomorphic" components? Like say for example I want to publish an npm package that has a component that makes a fetch call. There's really no reason for this component to be exclusively a RSC. My users should be able to install it and use it even on SPAs.
December 25, 2023 at 2:29 PM