useActionData on layout after v2.3.0 #8188
Unanswered
eduardodallmann
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Looking at Contextualizing, in my current project, I use the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, after version
2.3.0
theuseActionData
hook does not trigger the reaction.I have a layout route
_app/route.tsx
and a route with a form_app/document.tsx
, I also have a Form component. All 3 useuseActionData
and will show an alert when the action data changes. But the layout route doesn't react. If I change to version 2.2.0 everything works again.I saw in the changelog that some things changed, I tried to include
unstable_flushSync
bothtrue
andfalse
but without success. What am I missing?Example:
https://codesandbox.io/p/devbox/aged-cache-jw7k7s
Beta Was this translation helpful? Give feedback.
All reactions