useRouteData empty on HMR
I'm just curious about the expected behavior of useRouteData in Solid Start. It seems to return an empty response after HMR, but only in certain situations. I created two identical pages with different route data functions. One pulls from the Pokemon API and another accesses my firestore instance:
The Pokemon page seems to persist data through HMRs, however, my route data from firestore seems to be empty after an HMR. Does anyone have any insight into this?
2 Replies
Bump. Still haven’t solved this. Don’t want to file an issue as it’s probably just something I’m misunderstanding
i don't think context hmr is solved yet, probably worth an issue though