From 6b1f3438b613477e0a2e552b7b24952e8d9e5970 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 15 Mar 2024 13:17:06 -0700 Subject: [PATCH] docs: add more keywords for reducer/reviver docs https://github.com/nuxt/nuxt/issues/21832#issuecomment-1996991526 --- docs/3.api/2.composables/use-nuxt-app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.api/2.composables/use-nuxt-app.md b/docs/3.api/2.composables/use-nuxt-app.md index 20fcefccd7e7..c1d91933d518 100644 --- a/docs/3.api/2.composables/use-nuxt-app.md +++ b/docs/3.api/2.composables/use-nuxt-app.md @@ -128,9 +128,9 @@ Nuxt exposes the following properties through `ssrContext`: It is also possible to use more advanced types, such as `ref`, `reactive`, `shallowRef`, `shallowReactive` and `NuxtError`. - Since [Nuxt v3.4](https://nuxt.com/blog/v3-4#payload-enhancements), it is possible to define your own serializer/deserializer for types that are not supported by Nuxt. + Since [Nuxt v3.4](https://nuxt.com/blog/v3-4#payload-enhancements), it is possible to define your own reducer/reviver for types that are not supported by Nuxt. - In the example below, we define a serializer for the [Luxon](https://moment.github.io/luxon/#/) DateTime class. + In the example below, we define a reducer (or a serializer) and a reviver (or deserializer) for the [Luxon](https://moment.github.io/luxon/#/) DateTime class, using a payload plugin. ```ts [plugins/date-time-payload.ts] /**