mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
parent
e084ee7b3a
commit
792cf67137
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "callOnce"
|
title: "callOnce"
|
||||||
description: "Run a given function or block of code once during SSR or CSR."
|
description: "Run a given function or block of code once during SSR or CSR."
|
||||||
|
navigation:
|
||||||
|
badge: New
|
||||||
links:
|
links:
|
||||||
- label: Source
|
- label: Source
|
||||||
icon: i-simple-icons-github
|
icon: i-simple-icons-github
|
||||||
@ -8,6 +10,10 @@ links:
|
|||||||
size: xs
|
size: xs
|
||||||
---
|
---
|
||||||
|
|
||||||
|
::callout{icon="i-ph-info-duotone" color="blue"}
|
||||||
|
This utility is available since [Nuxt v3.9](/blog/v3-9).
|
||||||
|
::
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
The `callOnce` function is designed to execute a given function or block of code only once during:
|
The `callOnce` function is designed to execute a given function or block of code only once during:
|
||||||
|
Loading…
Reference in New Issue
Block a user