Recommended Pattern for File based and React-Query Context

I am trying to to figure out how to get the scope of the context right when using file based routes. Has anyone done this?
Was this page helpful?