www.noaa.gov/news-release...
it lets you interactively step through how the React Server Components protocol works directly in the browser — no server needed.
it lets you interactively step through how the React Server Components protocol works directly in the browser — no server needed.
would anyone find it useful?
would anyone find it useful?
lots of bugfixes and a few new examples.
this basically works now! i'll open source a bit later
lots of bugfixes and a few new examples.
this basically works now! i'll open source a bit later
the stack:
- atproto (jetstream + new lex client)
- next 16 + cacheComponents (yes, a recent version)
- postgres + drizzle, redis
- vitest
the stack:
- atproto (jetstream + new lex client)
- next 16 + cacheComponents (yes, a recent version)
- postgres + drizzle, redis
- vitest
did -> handle, handle -> did, and did -> avatar lookups should all be getting cached in redis now which should considerably speed up navigations and stop 1s+ load times on some pages
cause was fun: github.com/vercel/next....
did -> handle, handle -> did, and did -> avatar lookups should all be getting cached in redis now which should considerably speed up navigations and stop 1s+ load times on some pages
cause was fun: github.com/vercel/next....
wtbb.vercel.app
I tried browsing the React repo example and it's _fast_! Really impressive!
wtbb.vercel.app
I tried browsing the React repo example and it's _fast_! Really impressive!
one thing i'm not sure about is whether to place "use cache" closer to the data layer (particular queries) or ui layer (particular component trees). obviously could do both but i wonder which pattern i'll gravitate towards
one thing i'm not sure about is whether to place "use cache" closer to the data layer (particular queries) or ui layer (particular component trees). obviously could do both but i wonder which pattern i'll gravitate towards
imo if you already have a range of experience and have seen both, it’s totally fine to be open to both kind of setups (and even more exotic ones)
imo if you already have a range of experience and have seen both, it’s totally fine to be open to both kind of setups (and even more exotic ones)
what the hell. is there a crbug for this?
what the hell. is there a crbug for this?
how do i pass "we're logged in/out" to the client-side part of the app without adding Suspense boundaries on top?
knowing this requires reading cookies(), but reading cookies() outside <Suspense> warns. but i also don't want a top-level <Suspense>
how do i pass "we're logged in/out" to the client-side part of the app without adding Suspense boundaries on top?
knowing this requires reading cookies(), but reading cookies() outside <Suspense> warns. but i also don't want a top-level <Suspense>
i know you can do something like that by writing your own handlers but i don't want to write any code, i just want a debugging tool
i know you can do something like that by writing your own handlers but i don't want to write any code, i just want a debugging tool
should i
- revalidatePage/revalidateTag in every server action
- or should i router.refresh next to their calls
- both?
i haven't tried cacheComponents yet so curious how to work with the existing model
should i
- revalidatePage/revalidateTag in every server action
- or should i router.refresh next to their calls
- both?
i haven't tried cacheComponents yet so curious how to work with the existing model
they’re syntactically attached to the scope (function or module) in a way that’s reflected in AST.
and both RSC and Next.js ones act at module boundary which is kinda gross for decorators or API calls
they’re syntactically attached to the scope (function or module) in a way that’s reflected in AST.
and both RSC and Next.js ones act at module boundary which is kinda gross for decorators or API calls
i've never done backend in my life before. what do i need to know? i mean stuff like
- observability
- what to do if someone ddos's me
- deployment versioning
- cache hits, revalidation, whatever
any lessons i don't want to learn hard way?
i've never done backend in my life before. what do i need to know? i mean stuff like
- observability
- what to do if someone ddos's me
- deployment versioning
- cache hits, revalidation, whatever
any lessons i don't want to learn hard way?