Redux function to combine all videos:
function combineAllVideos(state, action) {
return tassign(state, { allVideos: state.allVideos.concat([action.data]) });
}
Declaration + State for all videos array:
allVideos: Array<Object>;
OR
allVideos: [],
I'm struggling with the correct syntax to merge these arrays together.