How do I access route context in a Route's meta()?
If I use
or
... in both cases, they are undefined. I do not want to have the data I am accessing in
meta
be returned in the loader
, because the data was loaded in a parent match's beforeLoad
function. Having the data returned in loader
will serialize it to the client and cause the data to be duplicated in the initial SSR'd HTML payload.0 Replies