Skip to content

A possible solution for the routing issue #43

@wmertens

Description

@wmertens

I'm just scoping the field, I'm somewhat of an Ember newbie, not using this project (yet), but I noticed that you say that to-link doesn't work, and it reminded me of this approach for generic links:

  • put a click handler around the whole app
  • on click, see if a link was clicked (here's some example code)
  • if the link was one for this website, pass it to the routing mechanism

So in other words, the React component would just have to generate regular <a href="..."/> and it would be injected into Ember.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions