TanStackT
TanStack2mo ago
3 replies
dead-brown

Route props order

just out of curiosity:
why is there a specific order that props should follow in the createFileRoute object. For example,
params
and loaderDeps should be passed before loader. I know it should be evaluated in that order probably, but is there a specific reason for passing them in order too, other than encouraging a convention?
Was this page helpful?