Coder Social home page Coder Social logo

Angular 16 support about angular HOT 9 CLOSED

davidgronlund avatar davidgronlund commented on April 27, 2024 5
Angular 16 support

from angular.

Comments (9)

davidgronlund avatar davidgronlund commented on April 27, 2024 1

For those who might face the same problem. We managed to resolve the depency issue by using npm overrides.

At root level in package.json we added this:

"overrides": {
    "@uirouter/angular": {
      "@angular/common": "^16.0.0",
      "@angular/core": "^16.0.0"
    }
}

from angular.

davidgronlund avatar davidgronlund commented on April 27, 2024 1

We have now migrated to @angular/routing. Not gonna lie, it was a hassle in some cases. The main issue, as far as my understanding goes, is that ui-router is not reusing components, while @angular/routing do for performance. This created major issues in instances where reloading and switching routes depended on ngOnInit being called again. There were ways around this, but it was not easy. Custom route resuse strategies where part of the solution but not completely.

from angular.

wawyed avatar wawyed commented on April 27, 2024 1

Version 12 is out with angular 16 support

from angular.

2advancesolutions avatar 2advancesolutions commented on April 27, 2024

Do anyone plan on fixing the to make it stable with angular 15 and 16 without doing a hack work around. Reason I ask is because most of the docs are outdated and I don't see a passing build. Is this safe to use for production ?

from angular.

wawyed avatar wawyed commented on April 27, 2024

You shouldn't have any issues running angular 15 ?

from angular.

2advancesolutions avatar 2advancesolutions commented on April 27, 2024

@wawyed I ran into issue thanks for response when creating a empty angular 15 project and adding UI router and then trying to do ng serve I got errors trying to build UI project. Can you share a repo with empty angular 15 project with UI route to demo that it's working ? I don't think UI Router is support in 15 and 16 and I look at the old demos using UI router there all in angular 9 and 10 which is outdate now

from angular.

2advancesolutions avatar 2advancesolutions commented on April 27, 2024

``
UI-Router

from angular.

2advancesolutions avatar 2advancesolutions commented on April 27, 2024

UIRouterBuild

from angular.

wawyed avatar wawyed commented on April 27, 2024

@wawyed I ran into issue thanks for response when creating a empty angular 15 project and adding UI router and then trying to do ng serve I got errors trying to build UI project. Can you share a repo with empty angular 15 project with UI route to demo that it's working ? I don't think UI Router is support in 15 and 16 and I look at the old demos using UI router there all in angular 9 and 10 which is outdate now

https://github.com/ui-router/sample-app-angular This should be using angular 15

from angular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.