Fundamentos
Next.js El futuro del Desarrollo Web
Novedades de Next.js 15
Migraci贸n de una APP a Next.js 15
Haciendo tu proyecto m谩s r谩pido
RSC: Refactorizando un componente cliente a servidor
C贸mo usar React Server Components con PostgreSQL sin un ORM
Consumiendo datos de manera eficiente
Consumiendo datos desde el servidor en Next.js 15
Consumiendo datos desde el cliente con React Query en Next.js 15
Patrones de Dise帽o: paralelo, secuencial y preload en Next.js 15
Uso avanzado de Suspense con Streaming rendering en Next.js 15
Escalabilidad y personalizaci贸n
Internacionalizaci贸n avanzada: rutas dinamicas y middlewares
Internacionalizaci贸n avanzada: diccionario de traducciones
Autenticaci贸n: Middleware en Next.js para validar sesiones
Autenticaci贸n: Cookie sessions Next.js
Feature Flags LaunchDarkly en Next.js 15
Manejo de errores en React Server Components y Next.js
Manejo de errores y observavilidad: Integraci贸n con Sentry
Caracter铆sticas Adicionales y Herramientas
Sistemas de cach茅 en Next.js 15
Seguridad y buenas pr谩cticas con Next.js
Seguridad y buenas pr谩cticas: cookies, jwt y encriptaci贸n
Auditoria de performance en Next.js 15
Despliegue en Producci贸n con Vercel
Despliegue en Fly.io: Preparaci贸n de Base de Datos
Despliegue en Fly.io: Despliegar Next.js en nuestro propio servidor
Next.js 15 el futuro del Desarrollo Web
You don't have access to this class
Keep learning! Join and start boosting your career
Error handling in applications is crucial to improve user experience and ensure system stability. This article explores how to handle errors in Next.js projects using Server Actions, specific components and global error handling.
useActionState
. This hook makes it easy to capture server errors and reflect states such as pending, error or success in the UI.try-catch
blocks to handle errors due to how it internally handles actions. It is suggested to evaluate results with conditional patterns and return custom error messages.error.tsx
file inside any page directory. This file is automatically triggered by unhandled errors on that page.app
folder, you can create a global-error.tsx
file that captures all unhandled errors at the page level. This file acts as a last line of defense.Contributions 0
Questions 0
Want to see more contributions, questions and answers from the community?