diff --git a/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js b/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js index 3d5c730e428dd..5ef7e00e64adf 100644 --- a/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js +++ b/packages/react-dom-bindings/src/client/ReactFiberConfigDOM.js @@ -694,6 +694,8 @@ export function commitMount( case 'img': { if ((newProps: any).src) { ((domElement: any): HTMLImageElement).src = (newProps: any).src; + } else if ((newProps: any).srcSet) { + ((domElement: any): HTMLImageElement).srcset = (newProps: any).srcSet; } return; }