How to fix the caching problem in Salesforce Lighting Component

Salesforce trying to optimize performance by caching components on the client-side. This is awesome for the end-users because page loads will faster. This is a lot less awesome for developers when developing lightning components because they may think that the code is wrong. Often they have to hit hard refresh a few times while you wait for the cache to clear.

Continue reading How to fix the caching problem in Salesforce Lighting Component

How to share a code between Aura and Lightning Web component

Now you can build Lightning components using two programming models: Lightning Web Components, and the original model, Aura Components.

Most of the projects consist of Aura Components but more and more developers trying to use LWC for new components. Developers faced with the issue to use common functions in Aura and Lightning Web Components.

The solution is pretty simple:

Continue reading How to share a code between Aura and Lightning Web component