Populating reaxt ag grid after API call
问题 I am new to react and stuck at this point. I am doing an async API call in action dispatcher to fetch a list of patient data.Once the data is returned I need to render it in ag grid. This is my code: import React, { useEffect, useState } from 'react'; import { connect } from 'react-redux'; import { fetchPatientsStartAsync } from '../../redux/patients/patients.actions'; import { PatientContainer } from './patients.styles'; import { AgGridReact } from 'ag-grid-react'; import 'ag-grid/dist