Each of the Use Cases is sort of implicitly stating ‘not being able to do it this easily is an ergonomics problem/not currently possible at all’.
Not being able to do this is a good thing, not a problem.
Transparent syntax for assigments makes it ambiguous what will happen,
since it now depends on the current value of the variable (if I
understand your proposal correctly).
I really don't want my primitive bindings changed from a different
scope, explicit or not - it's spooky action at a
distance
and makes code harder to understand.
It’s opt-in, that primitive would have to be set up as a Ref in the first place.
You can’t change the value of a Ref via assignment, only by using Ref.set(theRef,theNewValue). Syntax like n++/n += 1 is a special case since it’s sort of a self-update/shorthand and not a traditional assignment.
Working with Ref is not that different from working with Proxies; that type was chosen probably for the set/get traps as a way to trigger changes elsewhere.
The entire Use Cases section demonstrates what becomes possible/easier. Plenty of enhancements are about ergonomics and/or providing a built-in way to do something old/new for the purposes of removing common boilerplate/workarounds across the web. For example, Symbol/Reflect are indispensable for some developers, but most won’t ever need them.
You can already just pass an array or an object (or a userland class) holding a pointer to whatever you want, and if you're comfortable with requiring .set to change it, why not also require .get to access it? Then you don't need any language change at all. (this is also how React's pre-hooks "context" works)
I’ve been sent this before; that proposal is untouched for ~8 years and is quite different, it’s specifically about decorator closure references (if I’m understanding it correctly)
I’m writing up a library to see how close I can get to my desired syntax/functionality. I will then create a robust gallery of before/after code examples.
It is true that if I compromise and provide get/set methods, it’s mostly doable today, but I’m not satisfied with the ergonomics of that.