The following screenshot shows the topmost portion of the c-raceResults component:
The c-raceResults component follows a similar implementation approach to the c-raceStandings component, but also includes some additional flexibility to support record pages in Lightning, which allows it to know which race record the user is viewing:
<template> <lightning-card title={raceTitle} icon-name="standard:poll"> <lightning-datatable key-field="Driver" data={results.data} columns={columns} hide-checkbox-column="true"> </lightning-datatable> </lightning-card></template>
The following code fragments from the component are notable: ...