Convert Php Array To Javascript Object Destructuring In React