Vadims Daleckis
Vadims Daleckis
Yes, indeed. A number of dependencies have been moved to "peer dependencies" to ensure they are the same version across libraries.
Use WeakMap instead?
@domfarolino and @benlesh maybe you know?
At this point, I'm not looking for "blessed" or a specific polyfill like more standard compliant or more performance optimized. I am looking for ANY usable polyfill at all. It...
> its not same if value is there and set as undefined or if it is completely missing ofc
@RyanCavanaugh By far the most common use is `T | undefined`. There is some negligible use of `T | null`, and `T | null | undefined` is almost never used,...
@snarbles2 The contention was due to the fact that people expressed *their opinions* on what the `T?` *should be* in *their mind*. My argument is that, there is A LOT...
> If you're writing x in a parameter position, then `x: T | undefined` is almost always worse than `x?: T`. I disagree. I think `x: T | undefined` is...
Another case for `undefined` is that [*Optional Chaning*](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining) operator returns `undefined`, when the accessed value is nullish.
Hey! Thanks for the links! I've seen Math JSON, it is good to learn about miniMAL and Make-a-Lisp; maybe some functions/ideas could be interesting there. If it helps, I have...