Matan Borenkraout
Matan Borenkraout
> ```tsx > const MyVG = () => ( > > > > ) > > > const MyComponent = () => { > return > A {/* [object Object]A...
@alexkrolick I doubt it. Based on the research I did, it looks like our major bottleneck is `getComputedStyles` from JSDOM and `querySelectorAll`... These are known to be much slower in...
Having an empty dependency array in `useEffect` does not have the same behavior as not having a dependency array, one will run only on mount and the second will run...
@eps1lon any chance for an explainer on this one please? AFAIR, `async` act exists for a few years now, why do we need to `await` it now? Thanks!
> True, but when we're talking about something happening asynchronously (even if triggered by useEffect) that is currently possible and understandable. I'm not convinced this is justified. Just to see...
@eps1lon do we want to move on with this by pushing it to an alpha branch?
@alexandrsashin The current version of RTL already supports React 18. Having said that, we do have some work that @eps1lon has been working on in our alpha version, @atshakil, can...
Let's keep this one open until alpha will be merged to main :)
Hi @david-bezero, thanks for taking the time to open this one. I agree that the docs section is a bit misleading but the query doesn't really apply globally. If you'll...
> That example matches all our existing unit tests (and the tests in every other project I've seen / worked on!), so if it's not best practice I'd be interested...