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…3 min read·Feb 3, 2022--1--1
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.2 min read·Jan 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…3 min read·Aug 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…3 min read·May 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…6 min read·May 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…4 min read·May 10, 2020----