-
Notifications
You must be signed in to change notification settings - Fork 44
docs(devtools): add section for withTrackedReducer
#276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/docs/with-devtools.md
Outdated
| <!-- TODO - add backported version --> | ||
|
|
||
| :::info | ||
| Devtools integration with `@ngrx/signals/events` is now available starting in version 20.TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be v21.0 and v20.6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we are backporting this to v20 right? 05a5ad5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, yes and it should be 20.7 (20.6 is already out)...sorry
docs/docs/with-devtools.md
Outdated
| // Must have all three, or runtime errors for thee! | ||
| import { withTrackedReducer, withGlitchTracking, withDevtools } from '@angular-architects/ngrx-toolkit'; | ||
|
|
||
| const Store = signalStore({ providedIn: 'root' }, withDevtools('store', withGlitchTracking()), withTrackedReducer()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we maybe add one state updater in the withTrackedReducer along a comment that the particular event name will show up in the devtools?
rainerhahnekamp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- adding the version numbers
- extending the example a bit
Outstanding: release number to point to for the backporting of
withTrackedReducer