Redux DevTools does not display content of Map objects in Angular #1804
Open
Description
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'] }
Metadata
Assignees
Labels
No labels