Local Development server does not show record in LWC template. When I call apex method it returns record and it visible in template but only when web component is pushed to org, in local development it is not visible

  • How are you attempting to access the record in your component? There are many unsupported features in local development, and the feature is currently in beta so there may be large bugs. developer.salesforce.com/docs/component-library/documentation/…
    – nbrown
    Commented May 28, 2020 at 13:33
  • I spent much time for resolving it, but below is my answer, I resolved it and after wrote this question. Maybe for somebody it will be helpfull. Thanks @nbrown Commented May 28, 2020 at 13:39

1 Answer 1


It works when add @track decorator to record variable

  • @track decorator already does not necessary in lwc, but local development does not render records without it Commented May 28, 2020 at 13:49
  • 1
    Looks like you accidentally created a duplicate account?
    – Raul
    Commented May 28, 2020 at 15:31
  • @IgorVasylevskyi You can use the Contact Us link at the bottom of every page to have Stack Exchange staff merge your duplicate accounts.
    – David Reed
    Commented May 30, 2020 at 15:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .