Your outie already got bitten by useEffect()
Your outie once caught an exception in <ErrorBoundary>
Your outie recommends Vite, but it must be used with React Router in framework mode
Your outie already got bitten by useEffect()
Your outie once caught an exception in <ErrorBoundary>
Your outie recommends Vite, but it must be used with React Router in framework mode
A subtle but interesting behavior change is explained here
Seems like now it will "fail-fast" and bail out on the first error, while previously it "aggregated" errors
andrei-calazans.com/posts/react-...
A subtle but interesting behavior change is explained here
Seems like now it will "fail-fast" and bail out on the first error, while previously it "aggregated" errors
andrei-calazans.com/posts/react-...
- createAsync throws instead of returning undefined 🎉
- Resetting an ErrorBoundary refetches errored createAsyncs
- Suspense only shows its fallback once. On re-suspend it shows stale data (no Transition!)
+ much more
i'm very excited 😄
- createAsync throws instead of returning undefined 🎉
- Resetting an ErrorBoundary refetches errored createAsyncs
- Suspense only shows its fallback once. On re-suspend it shows stale data (no Transition!)
+ much more
i'm very excited 😄
`
export const Component
cost query = useSuspenseQuery
export default (
Layout
ErrorBoundary
Suspense
Component
`
Normally a fan of early returns, but for some reason this has stuck.
`
export const Component
cost query = useSuspenseQuery
export default (
Layout
ErrorBoundary
Suspense
Component
`
Normally a fan of early returns, but for some reason this has stuck.
I feel like every app has this in it by now, why not just make an official version of it
I feel like every app has this in it by now, why not just make an official version of it
If you want a shared fallback UI for API failures, you need to surface the error back into the render phase.
Pattern:
1️⃣ catch async error
2️⃣ store it in state
3️⃣ throw it during render → ErrorBoundary can now catch it
If you want a shared fallback UI for API failures, you need to surface the error back into the render phase.
Pattern:
1️⃣ catch async error
2️⃣ store it in state
3️⃣ throw it during render → ErrorBoundary can now catch it
www.freecodecamp.org/news/the-mod...
www.freecodecamp.org/news/the-mod...
It’s live with Live Editing, integrated #FriendlyCaptcha, and deployed on #Vercel.
It’s live with Live Editing, integrated #FriendlyCaptcha, and deployed on #Vercel.
www.freecodecamp.org/news/the-mod...
www.freecodecamp.org/news/the-mod...
<ErrorBoundary>
<Message text={upperPhrase()} />
</ErrorBoundary>
<ErrorBoundary>
<Message text={upperPhrase()} />
</ErrorBoundary>
⚠️ CVE-2026-93981
hono before 4.13.7 fails to HTML-escape plain strings rendered by hono/jsx as a child or fallback of Suspense, as a string child of ErrorBoundary a...
⚠️ CVE-2026-93981
hono before 4.13.7 fails to HTML-escape plain strings rendered by hono/jsx as a child or fallback of Suspense, as a string child of ErrorBoundary a...
- All of this composes quite nicely
- All of this composes quite nicely
- One for icons from HeroIcons.com
- The other for "ErrorBoundary" component
Still blocked by a few more PRs on django-components, but will ship it as soon as possible.
- One for icons from HeroIcons.com
- The other for "ErrorBoundary" component
Still blocked by a few more PRs on django-components, but will ship it as soon as possible.