Skip to content

Commit d9ef766

Browse files
committed
Update once-props.mdx
1 parent 496ced1 commit d9ef766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

v2/data-props/once-props.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ return Inertia::render('Billing', [
1414
]);
1515
```
1616

17-
After the client has received this prop, subsequent requests will skip resolving the callback entirely and the prop will be excluded from the response. The client will automatically reuse the remembered value.
17+
After the client has received this prop, subsequent requests will skip resolving the callback and exclude the prop from the response. The client only remembers once props while navigating between pages that include them.
1818

19-
Navigating to a page without the once prop will break the chain, and the prop will be resolved again on the next page that has it.
19+
Navigating to a page without the once prop will forget the remembered value, and it will be resolved again on the next page that has it. In practice, this is rarely an issue since once props are typically used as shared data or within a specific section of your application.
2020

2121
## Forcing a Refresh
2222

0 commit comments

Comments
 (0)