J. S. Choi

Results 211 comments of J. S. Choi

The more I think about `…~[…]`, the more I like it. I’m planning to switch the operator from `…->…` to `…~[…]` soon, barring any big objections.

Alright. We did get strong pushback about `…->…` from @rkirsling, though, so I worry about pushback about it from others at the plenary. At the very least, maybe we should...

After today’s ad-hoc meeting on dataflow proposals, I have edited this issue to focus on general syntax bikeshedding. There are three possible styles. * `fn(rec: arg0)` or `fn(this: rec, arg0)`:...

There’s a [similar idea that is already discussed in the explainer](https://github.com/tc39/proposal-pipeline-operator#function-helpers): pipe functions that would use a prefix `+>` operator (where `+>` is a symbol “between” `=>` and `|>`). Your...

@freshp86: > I was at BlinkOn conference few weeks ago, and as soon as I saw the presentation about Layered APIs, the first thing that came to mind is exactly...

@arthurhsu: Thanks for writing this detailed gap analysis. It is clear indeed that there is no clear path forward, because the low-level APIs you’ve pointed out are many. But, as...

@merarischroeder: `` was deprecated by the WHATWG in mid-2015 and was completely removed from the HTML spec in winter 2016. See also: #112 (2016-09) and #118 (2016-10), as well as...

@bblfish As a newcomer, these ideas are all interesting, although also preliminary. Has the Solid team discussed much about which of those three options they might actually adopt into [solid-spec](//github.com/solid/solid-spec),...

~~If I am not mistaken, @michaelficarra’s implementation matches the behavior preferred by @waldemarhorwat and @ljharb as expressed at plenary today.~~ See also https://github.com/js-choi/proposal-function-once/issues/2#issuecomment-1081942617. I was wrong; I misread the code....

It is a good point that once-only event listeners often use their event arguments: ```js el.addEventListener('click', console.log, { once: true }); ``` *** For what it’s worth, another option is...