Greggman

Results 352 comments of Greggman

I'd pick 1 because seems more consistent with the rest of the platform. Setting an ``'s `src` changes its backing size ``` const img = new Image(); img.src = "200x100.png"...

I'm sure you already know this but, to be a little pedantic because many often get mislead > There's three (four) sizes in play here: > > CSS size (as...

> I don't think comparing canvas with img works. The width and height attributes of the img element have always set the layout size. That hasn't been the case with...

The problem with nesting panes is resizing doesn't work intuitively at all. Let's say I have 3 panes +-----+-----+-----+ | A | B | C | +-----+-----+-----+ And lets say...

Here's an example ``` const response = await fetch(someURLToData); const dataThatContainsMoreThanJustTheDataIWantToEncode = await response.arrayBuffer(); ``` now I only want to pass a portion of `dataThatContainsMoreThanJustTheDataIWantToEncode` There's no way to do...

Sounds good? BTW: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView

what does it mean "seems to be a bit of cat and mouse for us". Does it not repo above?

The react context docs cover this pretty well https://reactjs.org/docs/context.html at the base you do something like ``` ``` inside any component in a Tab you can ``` function SomeComponent() {...

> > A promise is a callback > > Almost. The issue here is that (in my understanding, please correct me if I'm wrong) because the microtask queue is pumped...