Skip to content

currentRouteOption relies on non-reactive FlowRouter.current() #38

Description

@robertdavid010

The template helper {{currentRouteOption '<option_name>'}} uses the non-reactive FlowRouter.current() API call.

The documentation makes this explicit. It also provides a way to explicitly trigger reactivity to a helper function.

Use FlowRouter.watchPathChange() to have the the helper function triggered every time a route path changes.

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