I'm working on a page in Remix that has two sections. One is a summary section showing overall stats (this should be static and never change), and the other is a paginated table that displays data. I want the paginated table to be revalidated (i.e., refetched or refreshed) whenever the page changes, but I don't want the summary section to be affected by these changes.
What’s the best way to achieve this behavior in Remix? Should I use useLoaderData in a specific way or is there another pattern I should consider? Any advice or examples would be greatly appreciated!