- From: Tab Atkins Jr. <notifications@github.com>
- Date: Mon, 16 Sep 2019 21:44:31 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 September 2019 04:44:53 UTC
> That would presumable be a ReactToAbleArray, not a ReadonlyArray. But yes, that would be the idea. Actually TypedOM needs ReadonlyArray for that case specifically; numeric operations form a tree (or actually a graph if you're doing weird stuff with reusing values) and typechecking (in the CSS type sense, not the JS/IDL type sense) is both strict and kinda expensive. But yes, the other places where I'm doing arraylikes by hand (CSSTransformValue and CSSUnparsedValue) are Observable. ------ The reason I was asking about NumericArray first, tho, is that those other two cases actually are quite different - they're CSSStyleValue subclasses. Is that sort of thing going to be supported? Or must these arraylikes definitely be subclasses of ReadonlyArray/ObservableArray? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/796#issuecomment-532056347
Received on Tuesday, 17 September 2019 04:44:53 UTC