How to use Optional Chaining and Nullish Coalescing with TypeScript and React

How to properly use Optional Chaining and Nullish Coalescing with TypeScript and React

Steven Creates
JavaScript in Plain English
4 min readApr 18, 2021

--

Photo by Guillaume de Germain on Unsplash

Intro

The problem we are trying to solve: Have you ever had a deeply nested property in an object that any time you time to reference it you got back null…

--

--

Software Engineer with 7+ years of hands-on experience designing, developing, and implementing. Focusing on React + Animations + TypeScript + Storybookjs