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 b2b79ee commit cab5050Copy full SHA for cab5050
packages/sdks/overrides/react-native/src/functions/transform-block-properties.ts
@@ -22,7 +22,8 @@ export function transformBlockProperties({
22
23
properties.ref = (ref) => {
24
if (isEditing()) {
25
- const el = findDOMNode(ref);
+ // findDOMNode has been removed in React 19
26
+ const el = findDOMNode ? findDOMNode(ref) : ref;
27
if (el && !(el instanceof Text)) {
28
el.setAttribute('builder-id', id);
29
el.classList.add(id);
0 commit comments