Skip to content

Commit 53b8251

Browse files
authored
docs(route-object): Clarify revalidation default behavior after an action (#14046)
1 parent 35718a3 commit 53b8251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/start/data/route-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ A route loader is revalidated when:
147147

148148
- its own route params change
149149
- any change to URL search params
150-
- after any actions are called
150+
- after an action is called and returns a non-error status code
151151

152152
By defining this function, you opt out of the default behavior completely and can manually control when loader data is revalidated for navigations and form submissions.
153153

0 commit comments

Comments
 (0)