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