Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b1f343

Browse files
committed
docs: add more keywords for reducer/reviver docs
#21832 (comment)
1 parent b9168d0 commit 6b1f343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/3.api/2.composables/use-nuxt-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ Nuxt exposes the following properties through `ssrContext`:
128128

129129
It is also possible to use more advanced types, such as `ref`, `reactive`, `shallowRef`, `shallowReactive` and `NuxtError`.
130130

131-
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.
131+
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.
132132

133-
In the example below, we define a serializer for the [Luxon](https://moment.github.io/luxon/#/) DateTime class.
133+
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.
134134

135135
```ts [plugins/date-time-payload.ts]
136136
/**

0 commit comments

Comments
 (0)