Alagarasan Profile picture
Web dev | JS & TS | Node.js | React | HTML | CSS | MongoDB | PostgreSQL | Tips & Tricks | Follow to connect | Feel free to DM šŸ§‘šŸ¾ā€šŸ’»
Jan 28, 2023 ā€¢ 9 tweets ā€¢ 8 min read
Generator function* in JavaScript:

A thread šŸ§µ

#100DaysOfCode #javascript #Angular #reactjs #devbubble In JavaScript, generator functions are a special type of function that allows you to use the yield keyword to pause and resume the execution of the function.

#100DaysOfCode #NodeJS #CodeLife
Jan 27, 2023 ā€¢ 9 tweets ā€¢ 10 min read
Memoization: Using Proxy in JavaScript

#100DaysOfCode #javascript #rarely_used #devbubble Memoization is a technique used to optimize the performance of a function by caching its results for a given set of inputs.

#100DaysOfCode #reactjs #Angular #NodeJS
Jan 26, 2023 ā€¢ 8 tweets ā€¢ 8 min read
Data virtualization: With Proxies in JavaScript.

A thread šŸ§µ

#100DaysOfCode #javascript #rarely_used #devbubble Data virtualization using Proxies in JavaScript refers to the ability to create virtualized data structures, such as virtualized arrays, that load their data on demand rather than loading all data at once.

#100DaysOfCode #ReactJS #Angular
Jan 18, 2023 ā€¢ 9 tweets ā€¢ 7 min read
WeakMap in JavaScript

A thread šŸ§µ

#100DaysOfCode #javascript #rarely_used A WeakMap is a map that holds weak references to its keys.

This means that the keys are eligible for garbage collection if there are no other references to them.

This feature can be useful for implementing caches or other similar data structures.

#reactjs #Angular #NodeJS #js