skip to Main Content

Javascript – How do I make an array of objects in react JS

My API gives me data in the following format: { status: 200, certificateTypes: [ { id: 1, name: 'Gasmeting', created_at: '2023-04-25T07:15:55.000000Z', updated_at: '2023-04-25T07:15:55.000000Z', }, { id: 2, name: 'Mangatwacht', created_at: '2023-04-25T07:16:13.000000Z', updated_at: '2023-04-25T07:16:13.000000Z', }, ], // ... } I used…

VIEW QUESTION
Back To Top
Search