Esta es una traducción para el componente del cliente
Esta es una traducción para el componente del servidor
MSW status:Disabled. To enable it set NEXT_PUBLIC_USE_MOCKS env to true
Server example: render the same `/api/hello` route and let MSW intercept it in Node when mocks are enabled.
MSW status: Disabled. To enable it set NEXT_PUBLIC_USE_MOCKS env to true
The `/api/hello` request could not be completed.
This value reacts to the language selector above.
Locale: es
Sample date: 2026-05-15
Formatted date: 15 de mayo de 2026
Server example: format the same sample date with Day.js during render using the current app locale.
This value is formatted on the server before the page reaches the browser.
Locale: es
Sample date: 2026-05-15
Formatted date: 15 de mayo de 2026
This example uses <code>useQuery</code> and manages loading, success, and error states automatically.
This example uses HydrationBoundary so the client query starts with server data immediately.
This component writes to a global Zustand store. The preview next to it reads the same state independently.
This preview reacts immediately when the controls update the store.
This block intentionally changes its spacing when compact mode is enabled.
Hint: global UI state is useful for app-wide preferences, toggles, and display behavior.