noobdev89's profile picture. daily JS drops. learning in public

dev

@noobdev89

daily JS drops. learning in public

Daily JS - Caret and Tilde in package.json Caret allows only minor+patch updates. For ex: ^1.2.3 allows 1.3.0, 1.4.0 not 2.0 Tilde allows only patch updates. For ex: ~1.2.3 allows 1.2.4, 1.2.5 not 1.3.0 #JavaScipt #Frontend #WebDev #Day5


Daily JS - Throttling Throttling makes a function run at most once in a given time window; doesn't matter how many times it is triggered #JavaScript #frontend #Day4 #webdev


Daily JS - minification 🤏 means removing all the unnecessary characters from your code, like spaces, comments and long variable names without changing how it works. it makes the file smaller and website loads faster #Dailydev #Javascript #DailyJS #Day3


Daily JS - Debounce ⏳ Debounce makes sure a function runs only after you stop doing something (typing, scrolling, resizing). Useful to avoid calling the same function again and again. #Javascript #webdev #frontend #Day2


Daily JS - Babel 🤏 Modern JS is great… until an old browser decides to act stubborn. converts modern JS and converts it into older JS so every browser understands it. #JavaScript #webdev #frontend #Day1


United States Trends

Loading...

Something went wrong.


Something went wrong.