Access __remixContext within entry.client.tsx when Single Fetch is turned on #10076
-
We are currently in the process of enabling Is there any way to still be able to access the loaderData from within |
Beta Was this translation helpful? Give feedback.
Answered by
sergiodxa
Oct 8, 2024
Replies: 1 comment 2 replies
-
You can render an inline script with the data and then read it from the entry.client. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the response is serializable then you can render it in a script.