Using useRouteLoaderData with createRemixStub #8658
Replies: 2 comments
-
I think it's because my Remix is still v1 😅 I'll close this discussion. Will reopen if I face further issues about similar topic. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm using Remix V2 and wondering about the same thing |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I am using https://github.com/kiliman/remix-flat-routes, and in my part of code I have this file called
routes/_admin/_layout.tsx
-- which, in the actual application, I can do this to retrieve the loader value from it:I wonder if we could use createRemixStub with this
useRouteLoaderData
? Because doing this:Will result in the debug only returns this empty thing @_@
EDIT: before I embarrass myself further, I'll see if I can update Remix in my project to v2
Beta Was this translation helpful? Give feedback.
All reactions