Skip to content

Update to new Angular 2 Router #6563

Closed
Closed

Description

@TheMohanraj

Ionic 2

Update ionic to new Angular 2 Router

Activity

  1. adamdbradley commented on May 18, 2016

    @adamdbradley
    Contributor

    This will still be a work in progress as the new new Angular 2 router still has some holes that does not allow us to update yet. The next release will not be integrated with the ng2 router yet, and we're working with the Angular team to solve this.

  2. self-assigned this
    on May 18, 2016
  3. jaruesink commented on May 19, 2016

    @jaruesink

    Hey @adamdbradley or whoever, I'm trying to work with the Ionic router when I had working with the getComponent, but now I'm stuck after the update and could use a nudge in the right direction.

    Here's what I've got so far: http://stackoverflow.com/questions/37332251/getting-nav-through-viewchild-in-ionic-2-beta

  4. TheMohanraj commented on Jun 16, 2016

    @TheMohanraj
    Author

    @adamdbradley hope now its right time?

  5. itrethan commented on Jun 28, 2016

    @itrethan

    @adamdbradley It's needed desperately. The lack of router in the ionic2 is block us from writing proper integration test. There is no easy way to land on a specific page.

    Since angular team have just updated their new router (3.0), I think it's the right time to support this feature.

  6. kimak commented on Jun 29, 2016

    @kimak

    Any news on the roadmap for this issue ?

  7. paulogr commented on Jun 30, 2016

    @paulogr

    +1

  8. jgw96 commented on Jun 30, 2016

    @jgw96
    Contributor

    Hello all! The new 3.0 alpha angular router is still too unstable to integrate smoothly into Ionic 2, but it is in a much better state than it was. We are working closely with the Angular team on this one so you can be assured that as soon as the router is ready then we will be integrating it. Thanks for using Ionic everyone!

  9. mtr commented on Aug 5, 2016

    @mtr

    Now that the new Angular 2 router has entered beta (version 3.0.0-beta.2), are there any updates? This missing feature is the sole impediment for my team adopting ionic for a new project.

  10. mtr commented on Aug 15, 2016

    @mtr

    I just thought I'd supply some info relating to this that I stumbled over today (from http://blog.ionic.io/announcing-ionic-2-beta-11/):

    Moving Forward

    With Beta 11 out the door, our focus will now turn to Beta 12 and the Ionic 2 release candidate! 🎊 Here’s what you can expect in Beta 12:
    […]

    URL Support

    Making the URL a first-class citizen in Ionic 2 is very important for Progressive Web Apps, so we’ll be spending some time in the next few weeks focusing on this. Stay tuned for more details in the near future!

    I guess this mean that the Ionic team will be working on this issue until the next release. 😃 👍

  11. vintage commented on Aug 25, 2016

    @vintage

    It seems that it won't land in the beta12, as I didn't see any task related to it in the milestone - https://github.com/driftyco/ionic/milestone/41

    Despite the release date for the URL-based router, have anyone got a workaround/idea (even dirty) for handling urls in the Ionic application in beta.11? I just need it for one feature - reminding password. If user got an email he should be able to click on the link and be redirected to the "set password form".

  12. jgw96 commented on Aug 25, 2016

    @jgw96
    Contributor

    Hello @vintage ! We are currently working on full url support for Ionic 2 and it will be in the beta.12 release. The reason it is not in a milestone is because its sort of a "surprise" feature 😄

  13. aksharpatel47 commented on Aug 30, 2016

    @aksharpatel47

    @jgw96 Will there be changes in the current live reload method? As in, only the page where the changes happen reloads?

  14. fiznool commented on Sep 28, 2016

    @fiznool

    I guess beta.12 never actually happened, since we now have 2.0.0-rc.0 🎉

    However there is still no router support? Or is it just yet to be documented? 😿

  15. jgw96 commented on Sep 28, 2016

    @jgw96
    Contributor

    @fiznool Our deeplinker support is technically in the 2.0.0-rc.0 release, but the docs for it are currently a work in progress. Sorry about that!

  16. dzincolorado commented on Sep 29, 2016

    @dzincolorado

    @jgw96 Will the Angular2 Router api be re-enabled so we can use it? We were able to do so in Ionic2 beta 6, then it was disabled for Beta 7 and onwards until Angular2 finalized the Angular2 Router api. It is exactly what we needed so I'm hoping it is re-enabled for Ionic RC.0. Thanks.

  17. itrethan commented on Sep 29, 2016

    @itrethan

    Our team needs this for integration test, currently it's just hard to navigate it to a specific page. Router seems to be the only solutions. Do you guys have any quick instructions for how to do that?

  18. RockNHawk commented on Sep 30, 2016

    @RockNHawk

    Hoping for the release for the beta.12 !!!
    Thanks for ionic team works.

  19. RockNHawk commented on Nov 1, 2016

    @RockNHawk

    Does this issue fixed?We are using ionic 2 building production environment web app now,but have no route to use for a long time.....

  20. chriswep commented on Nov 1, 2016

    @chriswep

    @DarkLx have a look at Deeplinker in the current API docs. Maybe it covers your use case.

  21. RockNHawk commented on Nov 1, 2016

    @RockNHawk

    @metzc We have tried Deeplinker, the browser's url changed with navigation change ,but if I refresh the page,it doesn't trigger the route,the page is always home page ...

  22. chriswep commented on Nov 1, 2016

    @chriswep

    @DarkLx it does for me, so theoretically it should work

  23. itrethan commented on Nov 2, 2016

    @itrethan

    @metzc It seems deeplinker is pretty buggy, url not matches up, doesn't work for modal...

  24. jgw96 commented on Nov 2, 2016

    @jgw96
    Contributor

    Hello all! We are currently working hard on the deeplinker and will be making steady improvements to it as time goes on. Since the deeplinker has been implemented I am going to go ahead and close this issue for now. If you have specific issues with the deeplinker please feel free to open issues for them. Thanks everyone!

  25. locked and limited conversation to collaborators on Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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