Gaurav Guptainsmallcase EngineeringSecurity: Dependency Confusion with a private npm registryHow a misconfigured private npm registry may lead to supply chain vulnerabilites4 min read·Feb 3, 2022----
Gaurav Guptainsmallcase Engineeringstory-driven developmentAn overview of how we use storybook to speed up development, improve the design QA process, document the design system and much more.14 min read·Dec 27, 2021----
Gaurav Guptainsmallcase EngineeringGradually migrating to typescript across multiple js codebases with a mid-size teamOur engineering approach to migrate to typescript across multiple codebases with a mid size team12 min read·Dec 18, 2021--1--1
Gaurav Guptainsmallcase Engineeringfunction components, callback refs, useCallback, a flawed understanding and infinite rendersusage of callback refs in function components and some nuances of useCallback dependencies array, which lead to infinite re-renders6 min read·Dec 18, 2021----
Gaurav Guptainsmallcase EngineeringUsing (async) generators for reporting progressA use case for generators to report progress in a multi step function which needs to cease control to the caller after every step5 min read·Dec 12, 2021----
Gaurav Guptainsmallcase EngineeringAutomating templated file / folder structure creation in vscodeAutomating a repetitive folder / file structure using a vscode extension4 min read·Aug 6, 2021--1--1
Gaurav Guptainsmallcase EngineeringUnderstanding api calls in React functional components and related caveatsEasy to miss details in state management when consuming apis in React functional components, and some patterns to solve the issues…5 min read·Jul 30, 2021----
Gaurav Guptainsmallcase EngineeringMisusing optional chainingOptional chaining is easy to misuse and can potentially confuse future readers of your code in certain scenarios.5 min read·Jul 24, 2021--3--3
Gaurav Guptainsmallcase EngineeringUsing jsdoc to enable intellisense for render props in vscodestrongly typed render props without typescript5 min read·Jul 20, 2021----
Gaurav Guptainsmallcase EngineeringWeb security — exposed .git folder in productionsecurity vulnerability related to exposed .git folder4 min read·Apr 18, 2021--1--1