I'm working with redux and I have some issues on how to insert an object into an element of the state in an immutable manner. I have this type of state
const Initial_State={
filmList:[],
title:'',
description:'',
}
export default (state = Initial_State, action) => {
const {PUSH,POP,CLEAR,SELECT}=ListKeys
switch(action){
case PUSH://need code to insert an object into filmlist