Resource Routes
Just thinking out loud, the solution may be simpler than I can currently think about, but can we set up resource routes as components that can be referenced in another route
I am trying to build a kitchen sink example with Tanstack...stack...and I want to mimic the Remix combobox behavior
In this situation there is a route that returns a component that has a loader and action. The action searches through customers.
Each character added is essentially added to search params which causes the loader to rerun
I feel like this ability is primed for tanstack router with its loaders, actions, and emphasis on query params. Just trying to think through how to do this.
1 Reply
relaxed-coral•2y ago
I would also be interested to hear more about this