Subscribe to my newsletter and never miss my upcoming articles
What is a design system? This is what uxpin.com says - The complete set of design standards, documentation, and principles along with the toolkit (UI patterns and code components) to achieve those standards. Here is another definition - A colle...
Q. Write a program to check for duplicates in an array, it the distance between two duplicate items it less than a specified amount. const arr1 = [3, 1, 5, 7, 9, 5]; function checkDuplicates(arr, dis) { const map = {}; for(let i = 0; i < a...
What are PWAs? PWAs stand for progressive web apps, which are web applications that have some native app capabilties like: Install on a mobile home sacreen Access the app when offline Get push notifications What are service workers? They are simple...
Q. When should you use Arrow functions in JavaScript? What is the `this ? Apart from being cleaner to read, arrow functions help in avoiding bugs related to the 'this' within callbacks, it because easier for a programmer to predict the value of this....
React Concepts JSX a syntax extension to JavaScript, which gets compiled to JavaScript by Babel. After compilation, JSX expressions become regular JS function calls and evaluate to JS objects. So JSX can be passed around like any JS object. JSX attri...