Skip to content

improve router for Tabs #40

@KillariDev

Description

@KillariDev
          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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions