Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

update object in array in ngxrx store in angular

arr.map((value, index) => index === action.index ? {...value, name: action.value} : value) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #object #array #ngxrx #store #angular
ADD COMMENT
Topic
Name
5+9 =