ngrx / platform

Reactive State for Angular
https://ngrx.io
Other
8.04k stars 1.97k forks source link

@ngrx/store: Update examples to standalone APIs #4067

Open brandonroberts opened 1 year ago

brandonroberts commented 1 year ago

Information

Standalone APIs have been stable since Angular v16, and we should update the @ngrx/store documentation to use standalone APIs by default, and reference previous versions of the docs for module-based apps.

Documentation page

No response

I would be willing to submit a PR to fix this issue

Jad31 commented 1 year ago

Can we make PRs to help on this issue?

brandonroberts commented 1 year ago

@Jad31 sure. I'll take Store/Effects but the rest are up for grabs

Jad31 commented 12 months ago

@brandonroberts I'm eager to start working on the other sections. However, I'd appreciate it if you could share an example or template for the "Store/Effects" part first. This will help ensure a consistent approach across all sections. Thanks!

KirilZafirov commented 10 months ago

I will pick up Router Store!

brandonroberts commented 10 months ago

Thanks everyone! I will have an example PR soon

aboudard commented 9 months ago

Hello ! I guess it's related to both docs and schematics, but is it planned to make / document a schematic option for basic operations in a standalone app in order not to use the StoreModule but the provideStore ?

geromegrignon commented 3 months ago

Hi @brandonroberts, do you need extra support on it? We have people confused trying to use NgRX as Angular is using Standalone APi by default now.

rainerhahnekamp commented 3 months ago

https://github.com/ngrx/platform/issues/4417

markostanimirovic commented 2 months ago

This issue is now dedicated to updating @ngrx/store examples to standalone APIs.

Issues for other packages: #4468 (effects) #4469 (router-store) #4470 (store-devtools)

If anyone is interested in contributing, all mentioned issues are accepting PRs.