We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfab298 commit 678b939Copy full SHA for 678b939
README.md
@@ -429,6 +429,11 @@ The containing DOM node of your rendered React Element (rendered using
429
> `container.firstChild` will only get the first child of that Fragment, not the
430
> Fragment itself.
431
432
+> 🚨 If you find yourself using `container` to query for rendered elements then
433
+> you should reconsider! The other queries are designed to be more resiliant to
434
+> changes that will be made to the component you're testing. Avoid using
435
+> `container` to query for elements!
436
+
437
#### `baseElement`
438
439
The containing DOM node where your React Element is rendered in the container.
0 commit comments