function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Inbox OutboxInbox Outbox 

Which methods does not extend lightning element?

One of the reasons we call apex methods imperatively (as opposed to using wire) is to call methods from ES6 modules that doesn't extend lightning element.
What does that mean? Could you guys give a use case or a scenario?
VinayVinay (Salesforce Developers) 
Check below references that can help you.

https://developer.salesforce.com/docs/component-library/documentation/en/lwc/apex_call_imperative
https://rajvakati.com/2019/02/08/share-javascript-code-between-lightning-web-components/

Thanks,