blog.ramadevsign.comWhat Does "!" Symbol Mean in Typescript?In this short guide, I will introduce you to the Definite Assignment Assertion feature in typescript and demonstrate to you an interesting use case to implement this feature. Prerequisites This guide assumes you have basic knowledge of Typescript, yo...Aug 17, 2022·2 min read
blog.ramadevsign.comHow to convert your JavaScript object literals to TypescriptWhat is an object literal? A JavaScript object literal is a comma-separated list of name-value pairs encapsulated inside curly braces, kind of like a JSON structure. let student = { id: 1056, name: 'Bazuu', email: 'hello@bazumail.com' } cons...Apr 14, 2022·3 min read
blog.ramadevsign.comHow to use the Javascript Set() ES6 method — 100daysofleetcode epiphanyI recently started a #100DaysofLeetcode challenge and came across a coding problem whose solution involved using the Javascript ES6 Set() method. I dug deeper into what it was, how it works and how to use it in your day to day coding and this artic...Oct 30, 2021·3 min read
blog.ramadevsign.comHow to use npm instead of yarn with the “expo init” cli (react native tip)In this guide, I’ll show you how to use npm instead of yarn to create a new react native project while working with the expo cli. React Native combines the best parts of native development(Android, IOS) with React, a best-in-class JavaScript librar...Sep 23, 2021·2 min read
blog.ramadevsign.comHow to use Environment Variables in Vite(React Template Example)tl:dr — Use import.meta.env instead of process.env Vite is a handy build tool when you want to spin up a quick react application. In this guide, I will walk you through how to use environment variables inside a react application template created tho...Aug 27, 2021·2 min read