DEV Community

loading...
saransh kataria profile picture

saransh kataria

A curious full stack developer who loves challenges and getting things done.

Work

Senior Software Developer

Writing better conditional expressions in JavaScript

Writing better conditional expressions in JavaScript

Reactions 53 Comments 6
4 min read
Parsing and Validating Data in Python using Pydantic

Parsing and Validating Data in Python using Pydantic

Reactions 3 Comments
5 min read
Using the optional chaining operator in JavaScript

Using the optional chaining operator in JavaScript

Reactions 57 Comments 8
3 min read
Statically type checking Python code using Pyright

Statically type checking Python code using Pyright

Reactions 2 Comments
5 min read
Adding Fixtures and Parameterized Functions to PyTest

Adding Fixtures and Parameterized Functions to PyTest

Reactions 2 Comments
4 min read
Test Python applications with Pytest

Test Python applications with Pytest

Reactions 5 Comments
3 min read
Installing Intel-based packages using Homebrew on the M1 Mac

Installing Intel-based packages using Homebrew on the M1 Mac

Reactions 2 Comments
4 min read
How to format a Number as Currency in JavaScript

How to format a Number as Currency in JavaScript

Reactions 92 Comments 6
3 min read
Getting Started with Flask: A Python Microframework

Getting Started with Flask: A Python Microframework

Reactions 10 Comments 2
4 min read
Managing Python dependencies using Virtual Environments

Managing Python dependencies using Virtual Environments

Reactions 4 Comments
4 min read
Configure Multiple Accounts in AWS CLI

Configure Multiple Accounts in AWS CLI

Reactions 3 Comments
3 min read
JavaScript Proxy: What and Why?

JavaScript Proxy: What and Why?

Reactions 5 Comments
4 min read
Visual Studio Code Snippets: Boost productivity with shortcuts

Visual Studio Code Snippets: Boost productivity with shortcuts

Reactions 45 Comments
5 min read
Avoiding race conditions and memory leaks in React useEffect

Avoiding race conditions and memory leaks in React useEffect

Reactions 308 Comments 17
4 min read
3 Object Initialization Shorthand Notations In JavaScript

3 Object Initialization Shorthand Notations In JavaScript

Reactions 14 Comments
3 min read
Using the useCallback React hook

Using the useCallback React hook

Reactions 27 Comments
3 min read
Understanding the useRef react hook

Understanding the useRef react hook

Reactions 5 Comments
5 min read
How to cancel an HTTP fetch request

How to cancel an HTTP fetch request

Reactions 36 Comments
3 min read
Use redux-like middleware for useReducer in React

Use redux-like middleware for useReducer in React

Reactions 8 Comments
4 min read
How to write your own custom React hooks

How to write your own custom React hooks

Reactions 20 Comments
4 min read
Provide callback to useState hook like setState in class components

Provide callback to useState hook like setState in class components

Reactions 4 Comments
3 min read
Resolving nested queries in GraphQL using Apollo Server

Resolving nested queries in GraphQL using Apollo Server

Reactions 6 Comments
5 min read
Creating a GraphQL API with Apollo Server

Creating a GraphQL API with Apollo Server

Reactions 5 Comments
6 min read
How to unit-test a private (non-exported) function in JavaScript

How to unit-test a private (non-exported) function in JavaScript

Reactions 4 Comments
4 min read
Detecting click outside component using React hooks

Detecting click outside component using React hooks

Reactions 9 Comments 2
3 min read
Learning context API and the useContext React hook

Learning context API and the useContext React hook

Reactions 14 Comments
5 min read
Beating JSON performance using Protocol Buffers

Beating JSON performance using Protocol Buffers

Reactions 19 Comments 4
5 min read
Understanding the useReducer hook in React

Understanding the useReducer hook in React

Reactions 17 Comments
6 min read
React Hooks and Local Storage: Let’s build a ToDo app

React Hooks and Local Storage: Let’s build a ToDo app

Reactions 62 Comments 11
11 min read
GraphQL Basics: Types, Queries, Mutations, and Schema 

GraphQL Basics: Types, Queries, Mutations, and Schema 

Reactions 30 Comments
5 min read
Why GraphQL?

Why GraphQL?

Reactions 252 Comments 34
6 min read
Using Prettier to format your JavaScript code

Using Prettier to format your JavaScript code

Reactions 8 Comments
4 min read
JavaScript Promise combinators: race, all, allSettled, any

JavaScript Promise combinators: race, all, allSettled, any

Reactions 37 Comments
6 min read
Rest and Spread operator: Three dots that changed JavaScript

Rest and Spread operator: Three dots that changed JavaScript

Reactions 7 Comments
6 min read
How to import/export ES6 modules in Node

How to import/export ES6 modules in Node

Reactions 8 Comments 1
3 min read
loading...