Best approach to render a page based on param? - TanStack