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
It appears that Redux DevTools does not correctly display the contents of Map objects in an Angular application. When viewing the store state in the DevTools, Map objects appear as empty or do not show their key-value pairs.
Steps to Reproduce:
Create an Angular application with Redux/NgRx and Redux DevTools enabled.
Add a property of type Map<number, string[]> to the store state, for example:
typescript
const initialState = { ids: new Map<number, string[]>([[4, ['111111111111']]]) };
Update the state using an action.
Open Redux DevTools and inspect the state.
the state look null,but itsnot right!
Expected Behavior:
The Map should display its key-value pairs, like:
ids: Map(1) { 4 => ['111111111111'] }
The text was updated successfully, but these errors were encountered:
It appears that Redux DevTools does not correctly display the contents of Map objects in an Angular application. When viewing the store state in the DevTools, Map objects appear as empty or do not show their key-value pairs.
Steps to Reproduce:
Create an Angular application with Redux/NgRx and Redux DevTools enabled.
Add a property of type Map<number, string[]> to the store state, for example:
typescript
const initialState = { ids: new Map<number, string[]>([[4, ['111111111111']]]) };
Update the state using an action.
Open Redux DevTools and inspect the state.
the state look null,but itsnot right!
Expected Behavior:
The Map should display its key-value pairs, like:
ids: Map(1) { 4 => ['111111111111'] }
The text was updated successfully, but these errors were encountered: