connect
connect copied to clipboard
Remove all duplicate queries
Idea is to selectively import setters/getters where this global state is needed.
As noted here, where we query the routes is quite far away from the RouteActivity, so we'd need to pass setters/getters as properties from multiple components to get this information which is cumbersome.
Instead we can either implement currentX signals, or a global store of the devices and routes we've loaded so far. Currently experimenting with which is simpler.
- [ ] How do we set the currentRoute when you open a URL to a route without clicking? I'm sure Sam knows
Welcome to connect! Make sure to:
- read the contributing guidelines
- mark your PR as a draft until it's ready to review
- post the preview on Discord; feedback from users will speedup the PR review
deployed preview: https://503.connect-d5y.pages.dev