dillon1000/react
Commit
Browse files Suggest correct casing for misspelled credentialless iframe attribute (#36322)
## Summary Follow-up to #36148 (which added credentialless as a recognized boolean attribute for iframes). Adds credentialless to possibleStandardNames so React's dev warning can suggest the correct casing when users write it as Credentialless (or another incorrect case). Includes an SSR test asserting the "Did you mean credentialless?" warning fires. ## Test plan - yarn test ReactDOMComponent passes, including the new should warn about incorrect casing on the credentialless property (ssr) case
Changed paths2 files
First-parent comparisonpackages/react-dom-bindings/src/shared/possibleStandardNames.js ModifiedM packages/react-dom/src/__tests__/ReactDOMComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…