Shweta Singhlet vs var : An underestimated difference in JS worldThe ‘let’ keyword was introduced in ES6(2015). As a developer, we keep on using it like var with just knowing that it limits the scope of…Feb 3, 20221Feb 3, 20221
Shweta SinghYour own fetchAll API w/o PromiseIf you work with JavaScript,you would be lying if you say you haven’t used or come across the ‘fetchAll’ use case.Jan 27, 2022Jan 27, 2022
Shweta SinghinThe StartupDoes CRA App Include SVGs in the Bundle By Default?The 16.x version of react brought with it the capability of creating a bundle of the application files and serving it in multiple chunks…Aug 13, 2020Aug 13, 2020
Shweta SinghMost reliable hack to determine whether an object is array in JavaScriptCheck if a given value is an Array without using the Array.isArray(). I think this has become one of the popular questions for Javascript…May 26, 2020May 26, 2020
Shweta SinghPerformance boosters for react applicationsI recently came across a problem in which my react application was taking unbearable time to load, leading to bad user experience. It was…May 18, 2020May 18, 2020
Shweta SinghWeb Workers In JavaScriptWe have always heard and believed that JavaScript is single threaded. Also we have heard multi-threading is possible with the introduction…May 10, 2020May 10, 2020