Back to Browse

Why does Angular need JavaScript's most unused primitive

32.8K views
Jan 15, 2025
9:59

My Angular course: https://angularstart.com/ Most JavaScript developers are probably familiar with the most common JavaScript primitives like string, number, boolean, null, and undefined... but perhaps not with bigint and symbol. This video explores what exactly the symbol primitive is, and how Angular is using it for their signals implementation Signals deep dive: https://www.youtube.com/watch?v=C_xXv27_gHg Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076 My game dev channel: https://www.youtube.com/@joshmoronypixels MY GEAR: Keyboard: https://adm42.dev/?ref=3 Neovim setup: https://github.com/joshuamorony/lazyvim/ Animations: https://motioncanvas.io/ 0:00 JavaScript primitives 0:52 What is the symbol primitive 1:57 Aren't objects already unique? 2:20 Primary use of symbols 3:41 How Angular uses symbols 6:37 Creating fake signals 7:08 Avoiding name collisions #angular #javascript - More tutorials: https://modernangular.com

Download

0 formats

No download links available.

Why does Angular need JavaScript's most unused primitive | NatokHD