ngxs / store

🚀 NGXS - State Management for Angular
http://ngxs.io
MIT License
3.52k stars 400 forks source link

feat(store): add `withExperimentalNgxsPendingTasks` #2186

Closed arturovt closed 1 week ago

arturovt commented 2 weeks ago

In this commit, we provide the experimental app stability NGXS contributor as part of the code. This is a fundamental feature that probably shouldn't be included in recipes but should be part of our codebase. It is already being used in production by apps that utilize zoneless server-side rendering. We expose it through the @ngxs/store/experimental subpackage because exposing it from the core package would be a breaking change, as it uses the experimental pending tasks service introduced in Angular 18 (though we remain compatible with Angular 16).

nx-cloud[bot] commented 2 weeks ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 9397af78131a101e32b1874d7c4ded293ffcb43b. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 4 targets - [`nx run-many --target=lint --all`](https://cloud.nx.app/runs/qXw25P3Hjv?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=test --all --configuration=ci --maxWorkers=4`](https://cloud.nx.app/runs/BMBYoiKb3t?utm_source=pull-request&utm_medium=comment) - [`nx lint-types store`](https://cloud.nx.app/runs/JueesAe3UT?utm_source=pull-request&utm_medium=comment) - [`nx run-many --target=build --all`](https://cloud.nx.app/runs/iP1JWTRMjK?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

bundlemon[bot] commented 2 weeks ago

BundleMon (Integration Projects)

Unchanged files (2) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | Main bundles(Gzip)
hello-world-ng17/dist-integration/main.(hash)
.js
| 69.46KB | +1% :white_check_mark: | Main bundles(Gzip)
hello-world-ng16/dist-integration/main.(hash)
.js
| 68.47KB | +1%

No change in files bundle size

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history | Target branch size history

codeclimate[bot] commented 1 week ago

Code Climate has analyzed commit 9397af78 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 95.4% (0.0% change).

View more on Code Climate.