You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a library depends on @ngxs/store, should the app using it be on the exact same @ngxs/store version? If yes then my bad, we can close the issue but maybe have it documented somewhere.
The issue here is that you are using Angular 15 which does not run ngcc for compatibility with libraries compiled for view engine.
Ngxs v3.7 is not compatible with Angular 15. You should have got a warning about incompatible peer dependencies during your npm install.
With semantic versioning, if a library (or your code) depends on a version of another lib, then it will be compatible with all minor versions and patches above that.
Minor versions add features and patches fix bugs. It is always additive.
Hi @markwhitfeld , for the first case, the error is thrown when both app and lib are based on Angular 13, but using the different NGXS versions, 3.7.x and 3.8.0. are they supposed to be using the same version?
If a library depends on @ngxs/store, should the app using it be on the exact same @ngxs/store version? If yes then my bad, we can close the issue but maybe have it documented somewhere.
If not then here is a repo reproducing compatibility issues:
https://github.com/chihab/ngxs-store-compat
Angular 13, App using v3.7, Lib using 3.8
Angular 15, App using v3.8, Lib using 3.7
The text was updated successfully, but these errors were encountered: