Php Append Array To Another Array Methods In React