Discussion

Reaction Commerce

Reaction Commerce is an open source E-Commerce platform. We can implement basic ecommerce functionalities without additional coding. We just need to setup the platform using docker and we can do basic ecommerce functionalities like create product, create order, create tag, cart, etc. https://reactioncommerce.com/ https://github.com/reactioncommerce/reaction We can use this platform when we need to develop ecommerce …

Lecture

SWR – React Hooks library for data fetching

SWR is React Hooks library for data fetching. The name “SWR” is derived from stale-while-revalidate, a HTTP cache invalidation strategy popularized by HTTP RFC 5861. SWR is a strategy to first return the data from cache (stale), then send the fetch request (revalidate), and finally come with the up-to-date data. With SWR, components will get …

Discussion

Basic auth configuration for specific URL using Nginx.

When you want to secure specific URL or route, you can configure Basic auth using Nginx. First install apache2-utils as apt dependency. You can add usernames to .htpasswd by running the following command. The username we’ve chosen is alice, of course, change this to fit your requirements. Next, we’ll need to add a hashed password to the user …

Discussion

AWS Fargate

WS Fargate is a serverless compute engine for containers that works with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS). Fargate makes it easy for you to focus on building your applications. Fargate removes the need to provision and manage servers, lets you specify and pay for resources per application, and improves security through …

ResizeObserver Polyfill
Discussion Javascript

ResizeObserver Polyfill

A polyfill for the Resize Observer API. Implementation is based on the MutationObserver and uses Mutation Events as a fall back if the first one is not supported, so there will be no polling unless DOM changes. Doesn’t modify observed elements. Handles CSS transitions/animations and can possibly observe changes caused by dynamic CSS pseudo-classes, e.g. …