playwright/tests/assets/reading-list
João Neves 7e6e5f0706
feat: Support React forwards refs and memo (#23262)
This PR fixes the react selector behavior to support components that are
wrapped by the memo or forwardRef React builtin functions.

Previously these components couldn't be selected. This PR fixes that
behavior, enabling selecting those components.

Current behavior:
```
const Foo = memo(() => <div id="foo_component" />);
Foo.displayName = "Foo";
...
playwright.$("_react=Foo") -> undefined
```

Fixed behavior:
```
const Foo = memo(() => <div id="foo_component" />);
Foo.displayName = "Foo";
...
playwright.$("_react=Foo") -> <div id ="foo_component" />
```
2023-05-30 17:14:47 -07:00
..
react-dom_15.7.0.js feat: introduce react selectors (#8069) 2021-08-07 16:51:39 -07:00
react-dom_16.14.0.js feat: introduce react selectors (#8069) 2021-08-07 16:51:39 -07:00
react-dom_17.0.2.js feat: introduce react selectors (#8069) 2021-08-07 16:51:39 -07:00
react-dom_18.1.0.js chore: make React selectors work on React 18 (#13864) 2022-05-03 13:46:52 -07:00
react15.html fix: React selectors should work after unmount (#22750) 2023-05-10 06:18:01 -07:00
react16.html fix: React selectors should work after unmount (#22750) 2023-05-10 06:18:01 -07:00
react17.html feat: Support React forwards refs and memo (#23262) 2023-05-30 17:14:47 -07:00
react18.html feat: Support React forwards refs and memo (#23262) 2023-05-30 17:14:47 -07:00
react_15.7.0.js feat: introduce react selectors (#8069) 2021-08-07 16:51:39 -07:00
react_16.14.0.js feat: introduce react selectors (#8069) 2021-08-07 16:51:39 -07:00
react_17.0.2.js feat: introduce react selectors (#8069) 2021-08-07 16:51:39 -07:00
react_18.1.0.js chore: make React selectors work on React 18 (#13864) 2022-05-03 13:46:52 -07:00
style.css feat: support props matching in react and vue selectors (#8104) 2021-08-10 17:10:14 -07:00
vue2.html fix(react-vue): support nested trees (#8467) 2021-08-26 03:07:33 -07:00
vue3.html fix(react-vue): support nested trees (#8467) 2021-08-26 03:07:33 -07:00
vue_2.6.14.js feat: introduce vue selector engine (#8070) 2021-08-09 01:34:52 -07:00
vue_3.1.5.js feat: introduce vue selector engine (#8070) 2021-08-09 01:34:52 -07:00