I am not understanding why certain functions need the "= () =>" and other functions like 'onFirstDateRendered' don't have "= () =>" what's the difference between these 2 functions within a class based construct? thanks
onGridReady = (params) => {
this.gridApi = params.api
this.columnApi = params.columnApi
this.gridApi.sizeColumnsToFit()
}
onFirstDataRendered(params) {
params.api.sizeColumnsToFit()
}