Alex Krolick
Alex Krolick
Is there something that could be added in this file https://github.com/constverum/stylelint-config-rational-order/blob/master/config/extendedStylelintOrderConfig.js to fix that?
Is the idea with the experimental official `useQuery` that it it will suspend for loading and throw an error (to be caught by an error boundary for the error state,...
You can probably copy the babel config, roughly, from here: https://github.com/alexkrolick/preact-photon-electron-quick-start
How much of this depends on JSDOM itself? This library doesn't implement the DOM part, just traversal.
> Is this issue talking about being able to screen.getByText('something in a shadow root') (or on an ancestor node) and have it just work for descendant shadow roots? That's what...
> JSDOM implements shadow DOM the same way a browser would and therefore behaves the same way. That's what I wanted to confirm. There can be some implementation differences. >...
Have not reviewed thoroughly, but would this change allow something like the Cypress wrapper to put `cy.get()` as the querySelectorAll implementation, allowing hooking into the base retry methods?
@CreativeTechGuy thanks for pointing this out. I've noticed that libraries like Playwright and Cypress have ShadowDOM-piercing support. Maybe we should look into what they do.
I would definitely try item 3 from @eps1lon's checklist for this particular case - the visibility calculation is expensive in large DOM trees ``` getByRole(role, { hidden: true }) ```
> Can you elaborate on this one, we're using RTL with jest (and JSDOM). Is there a way to configure other environments, if so what would you recommend? ie Puppeteer,...