5 React Libraries you should knowSo, here are the 5 great React libraries which you should know about as a React developer. 1 - React Query React Query is an open source data fetching library in React developed by Tanner Linsley. It has more than 1.2 million weekly downloads on NPM ...Oct 22, 2022·1 min read
JavaScript - String to Number fast waySometimes we need to convert Strings to Numbers. The easiest and fastest way to convert strings to numbers would be using the + (plus) operator. Let's see. let fiveAsString = '5' let fiveAsNumber = +fiveAsString // Now the fiveAsNumber var contains 5...Oct 13, 2022·1 min read
JavaScript - The ternary operatorThe ternary operator is a simplified conditional operator like if / else. Syntax: condition ? <expression if true> : <expression if false> Here is an example using if / else: Before if (isAuthenticated) { renderApp(); } else { renderLogin(); } ...Oct 13, 2022·1 min read
JavaScript - The typeof operatorThe typeof operator returns the type of the argument. It’s useful when we want to process values of different types differently or just want to do a quick check. A call to typeof x returns a string with the type name: typeof undefined "undefined" t...Oct 13, 2022·1 min read