Garrett LeSage

Results 776 comments of Garrett LeSage

`shouldComponentUpdate()` might almost be what we want. https://reactjs.org/docs/react-component.html#shouldcomponentupdate > Use shouldComponentUpdate() to let React know if a component’s output is not affected by the current change in state or props....

There's `ReactDOM.flushSync()` (https://reactjs.org/docs/react-dom.html#flushsync) which causes React to render immediately. If we called that in the test code (_important: not in production code_) before monkeying with the DOM, then it's a...

> React renders should not be totally random, there needs to be an event of some kind. During testing, we control all input events. That leaves the WebSocket events. (Idle...

> Alright, what about the global "mock mode", where the tests instruct the page to behave differenty just for the benefits of the tests. I think that is a useful...

Alternative is to be able to not show stuff when in mock mode, so things can be hidden and alternatives can be shown, instead of changing it.

PatternFly has started using `:is()` / `:where()` as of earlier this year.

> This deletion modal is from deletion a pod Yeah, I wasn't sure, as it was truncated and didn't provide any context in the screenshot... :sweat_smile: If some of us...

I've upgraded the the (almost) Beta of Fedora 36 and saw that intel-opencl and related packages are now in Fedora! Awesome work! :tada: However, OpenCL is currently not working with...

I see this issue too on Fedora 35 with the latest KDE Connect (1.19.1) on my Pixel 6 Pro and GSConnect 47, when playing media on my phone (with headphones)....

I tested a stream of YouTube in Firefox and get this: ```json { "id" : 1644323910053, "type" : "kdeconnect.mpris", "body" : { "player" : "Firefox Nightly", "nowPlaying" : "https://m.youtube.com/watch?v=5qap5aO4i9A -...