Extending SharePoint in a cloud-ready way - is it worth it?

Just because you're on-premises today, doesn't mean you will be there tomorrow. And even if your local laws and regulations make it impossible for you to move to the cloud, there are benefits in extending SharePoint in a cloud-ready way.

Format date in JavaScript

If you need to format dates in JavaScript, using this library instead of Moment.js will help you decrease your bundle size, a lot.