Git Product home page Git Product logo

Comments (14)

simeyla avatar simeyla commented on September 18, 2024 7

Angular 16.01 has the following versions for a new app.

"tslib": "^2.3.0"
"typescript": "~5.0.2"

Why does Akita have a hardcoded version?
I don't want to replace ^2.3.0 with 2.4.1!

Is Akita going to be updated or is there some other way to override this?

from akita.

Igor2017 avatar Igor2017 commented on September 18, 2024 2

The point is that the angular/cli command
ng new app creates a package.json in which
"tslib": "^2.3.0" which results in version "2.5.0" being installed.
You can solve the problem by replacing "tslib": "^2.3.0" in package.json with "tslib": "2.4.1".
But not everyone is up to it.

from akita.

Igor2017 avatar Igor2017 commented on September 18, 2024 1

@NetanelBasal Can you please have a look at this? :)

Need at your "package.json" write
{
. . .
"dependencies": {
. . .
"tslib": "2.4.1",
. . .
}

from akita.

Char2sGu avatar Char2sGu commented on September 18, 2024 1

They now recommend @ngneat/elf in replacement of Akita, which is a much more composable solution comparing to Akita. It might seem pretty ugly at the first glance because it's more low-level comparing to Akita, but you can easily make Elf as powerful as Akita with just a little wrapping upon it.

from akita.

Char2sGu avatar Char2sGu commented on September 18, 2024

Any updates on this?

from akita.

Char2sGu avatar Char2sGu commented on September 18, 2024

Are there any problems if Akita is using a tslib version other than 2.4.1? If none, why use a specific version instead of a version range?

from akita.

hassanasad avatar hassanasad commented on September 18, 2024

Facing same issue

from akita.

hassanasad avatar hassanasad commented on September 18, 2024

@NetanelBasal Can you please have a look at this? :)

from akita.

hassanasad avatar hassanasad commented on September 18, 2024

@Igor2017 Yes but it would be better if its not fixed version. Probably ^2.4.1 would be better right?

from akita.

Igor2017 avatar Igor2017 commented on September 18, 2024

@Igor2017 Yes but it would be better if its not fixed version. Probably ^2.4.1 would be better right?

No. We need the exact version.

from akita.

sithwarrior avatar sithwarrior commented on September 18, 2024

@Igor2017 Yes but it would be better if its not fixed version. Probably ^2.4.1 would be better right?

No. We need the exact version.

Why do you need that exact version?

Facing the same issue when updating Akita to latest

from akita.

juancarlos-eco avatar juancarlos-eco commented on September 18, 2024

So it seems like Akita is totally abandoned...

from akita.

juancarlos-eco avatar juancarlos-eco commented on September 18, 2024

They now recommend @ngneat/elf in replacement of Akita, which is a much more composable solution comparing to Akita. It might seem pretty ugly at the first glance because it's more low-level comparing to Akita, but you can easily make Elf as powerful as Akita with just a little wrapping upon it.

Yeah, I'm using it already for new projects and despite of one or two things that I really miss out, it's working great.

Anyway, I don't really think it makes sense to leave Akita die like this, without even having a proper support for newer Angular versions... specially taking into account it has had a very successful path and there are a LOT of production projects using it.

Just saying that, from my pov, this is a really sad ending for such a great tool. I ain't sure if Elf is going to end the same way therefore I won't be able to recommend it to everyone the same way I did with Akita.

from akita.

hassanasad avatar hassanasad commented on September 18, 2024

Its a great tool which I am still using - Felt like it started going downhill when it went under Salesforce.
Pretty much like everyone else, trying to plan to migrate to Elf now.

from akita.

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.