Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A possible solution for the routing issue #43

Open
wmertens opened this issue Nov 8, 2018 · 0 comments
Open

A possible solution for the routing issue #43

wmertens opened this issue Nov 8, 2018 · 0 comments

Comments

@wmertens
Copy link

wmertens commented Nov 8, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant