RaceResults component

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: ...

Get Salesforce Lightning Platform Enterprise Architecture - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.