-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Can you make your `Tabs` component accept an `OptionalSignal<'trading'|'market-creation'|'reporting'|'claim-funds'>` for current route, that way you can have access to the route outside of the component but all management of it is handled by the component?
I recommend making the signal a ReadOnlyOptionalSignal outside of the component and only writable by the component, to ensure that you don't accidentally mess with it elsewhere.
Alternatively, you could make it so anyone can update the signal and when that signal changes it will trigger a route update.
Originally posted by @MicahZoltu in #37 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels