This is a simlest component that can read Lead data.

showLead.html

<template>
    <lightning-card icon-name="standard:lead">
        <!-- If data were loaded -->
        <template if:true={lead.data}>
            <span slot="title">{leadName}</span>
            <div class="slds-m-horizontal_medium">
                <lightning-record-form
                    object-api-name="Lead"
                    record-id={recordId}
                    fields={leadFields}
                    columns="2"
                >
                </lightning-record-form>
            </div>
        </template>

        <!-- Error when no recordId provided -->
        <template if:false={recordId}>
            <c-inline-message message="Missing Record Id"></c-inline-message>
        </template>
        
        <!-- Data load error handling -->
        <template if:true={lead.error}>
            <!-- Simplest error output -->
            <div class="slds-align_absolute-center">
                <p>Error: {lead.error}</p>
            </div>
            
            <!-- More advanced list of errors provided by Salesforce in DreamHouse App https://github.com/dreamhouseapp/dreamhouse-lwc, reqires:
                https://github.com/dreamhouseapp/dreamhouse-lwc/tree/master/force-app/main/default/lwc/inlineMessage and
                https://github.com/dreamhouseapp/dreamhouse-lwc/tree/master/force-app/main/default/lwc/ldsUtils -->
            <!--<c-inline-message
                variant="error"
                message="Error retrieving data."
                errors={lead.error}
            ></c-inline-message> -->
        </template>
    </lightning-card>
</template>

showLead.js

import { LightningElement, api, track, wire } from 'lwc';
import { getRecord, getFieldValue } from 'lightning/uiRecordApi';
import NAME_FIELD from '@salesforce/schema/Lead.Name';
import PHONE_FIELD from '@salesforce/schema/Lead.Phone';
import EMAIL_FIELD from '@salesforce/schema/Lead.Email';

export default class LeadNotReached2 extends LightningElement {
   
    @api recordId; // Provided automatically when placed o record page
    @track leadFields = [PHONE_FIELD, EMAIL_FIELD]; // List of fields to be shown by lightning-record-form

    @wire(getRecord, {
        recordId: '$recordId',
        fields: [NAME_FIELD, PHONE_FIELD, EMAIL_FIELD]
    })
    lead;

    get leadName() {
        return getFieldValue(this.lead.data, NAME_FIELD);
    }

    connectedCallback() {

    }

    disconnectedCallback() {

    }
    
}

showLead.js-meta.xml

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="leadNotReached2">
    <apiVersion>45.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning__AppPage</target>
        <target>lightning__RecordPage</target>
        <target>lightning__HomePage</target>
    </targets>
</LightningComponentBundle>

 

   
© Paweł Woźniak