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 May 28 '20 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 – igor Vasylevskyi May 28 '20 at 13:39

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 – Igor Vasylevskyi May 28 '20 at 13:49
  • 1
    Looks like you accidentally created a duplicate account? – Raul May 28 '20 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 May 30 '20 at 15:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.