Latest updates and technical insights

How to create an HTTPS server in localhost?
When do we need HTTPS in local? Problem In most cases, we don't need HTTPS while developing app in local. However, if your app has features that require authentication with a third parties, or listen to webhooks from another app... And those third ...

Tricky use case of Array.prototype.map in JS
If you are familiar with functional programming, Array.prototype.map must be a function that you work with every day. For me, map() is a powerful function, but there might be some tricky use case of it that you don't know about! Let's walk through so...

Mastering Section Rendering APIs in Shopify Online Store 2.0
Section Rendering APIs is a powerful AJAX API from Shopify that can be used on the storefront to request HTML for any section of your choosing. The biggest advantage of this API is that it allows you to update page content without having to reload th...

Simplify your Node.js project with module aliases
Recently, I have been working on a pet project using Node.js on the backend to further my knowledge and prevent skill degradation during my free time. However, I encountered a frustrating issue with paths that many developers have likely experienced....

Eliminating Render Blocking CSS and measuring page rendering time with Performance API
CSS is considered by browsers as one of the render-blocking resources - resources that your page must load before users can see the content. Why should you avoid Render Blocking CSS? Render blocking CSS will slow down the display of your website to ...

Prevent layout shift when toggling scrollbar on Window
When will the scrollbar toggle? For example: Open a Modal, Popup, or Drawer with a lot of content and prevent the user from scrolling the Window. Toggle an Accordion or a Tab which expands the document height that leads to shows up the scrollbar. .....