PinnedPublished inJavaScript in Plain EnglishDependency Injection for Serverless ApplicationsA brief introduction to DI and Serverless with example setup using node.js, TypeScript and AWSJun 14, 20231Jun 14, 20231
PinnedPublished inBits and PiecesRethinking Code ReuseAvoid Wrong Abstraction through Encapsulation and CompositionJan 5, 20231Jan 5, 20231
PinnedPublished inBits and PiecesReact Design Patterns: Return Component From HooksA Potential New Pattern Inspired by “Partial Application”: With practical examples using Material-UI and TypeScriptFeb 17, 20229Feb 17, 20229
Published inJavaScript in Plain EnglishWhy Mutating Input Parameters of Functions in JavaScript is BadRecently, I received a merge request containing code where multiple functions share the same object as an input parameter, treating it as a…2d ago2d ago
TypeScript, Zod, and MongoDB: A Guide to Data Access Layer without ORMEmbracing New Paradigms for Enhanced Data Consistency and Type SafetyJun 14, 20233Jun 14, 20233
Published inJavaScript in Plain EnglishStream Chat Completion with OpenAI API using JavaScript FetchBuild your own ChatGPT with React in a typewriter styleMay 9, 20232May 9, 20232
Published inBits and PiecesThe Pitfalls of Using <Guard> or <If> Components in ReactUse Logical AND Operator (&&) or Babel Plugin InsteadApr 12, 20231Apr 12, 20231
Published inAWS in Plain EnglishDeploy React Web App on AWS S3 and CloudFront using CloudFormation (via AWS SAM CLI)Feb 28, 20231Feb 28, 20231
Published inJavaScript in Plain EnglishUnderstand Google reCAPTCHA with Diagrams and Code ExamplesCode examples are written in React, TypeScript, and Node.jsDec 11, 2022Dec 11, 2022
Published inJavaScript in Plain EnglishPolyfill CSS using styled-components mixins in ReactWith an example of flex gap polyfillFeb 7, 2022Feb 7, 2022