Loading...
「ツール」は右上に移動しました。
利用したサーバー: natural-voltaic-titanium
2いいね 107回再生

WeakSet() in react-scan source code.

In this video, we review a code snippet from react-scan source code. I found this code snippet in a file, core/index.ts. Why not use a proper Set? why would react-scan author decide to use WeakSet? To draw some conclusion around that, we first need to understand difference between WeakSet and Set in JavaScript.

Link to the article - thinkthroo.com/blog/WeakSet()-in-react-scan

Codebase Architecture - app.thinkthroo.com/architecture
Best practices - app.thinkthroo.com/best-practices
Production-grade projects - app.thinkthroo.com/production-grade-projects

Join our Discord community - discord.gg/3kwruUXW4g

About me:
Hey, my name is Ramu Narasinga. I study large open-source projects and create content about their codebase architecture and best practices, sharing it through articles, videos.

I am open to work on interesting projects. Send me an email at ramu.narasinga@gmail.com

My Github - github.com/ramu-narasinga
My website - ramunarasinga.com/
My open-source contributions - www.ramunarasinga.com/oss-contributions

コメント