T
TanStack2d ago
correct-apricot

Why use `beforeLoad()` to handle breadcrumbs? Shouldn't we use `context()` instead?

I've seen everywhere examples where "static" data attached to the route is handled by returning value from beforeLoad, but looking at intellisense there's a context() => any function available which seems to be made for that. why even the docs don't use it? is it for another purpose?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?