d2cef24d5d
## Bug Fixes #31892 react 18: requires camelcase for those props ``` Warning: Invalid DOM property `imagesrcset`. Did you mean `imageSrcSet` ``` react 17: requires lowercase for those props ``` Warning: React does not recognize the `imageSrcSet` prop on a DOM element. ``` - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ### Utils * Add command `yarn next-react-18 test/integration/any-react-18-app/` * Add util `withReact18` ```js const withReact18 = require('../../react-18/test/with-react-18') module.exports = withReact18({ experimental: { concurrentFeatures: true, }, }) ```
9 lines
202 B
JavaScript
9 lines
202 B
JavaScript
const withReact18 = require('../../react-18/test/with-react-18')
|
|
|
|
module.exports = withReact18({
|
|
experimental: {
|
|
reactRoot: true,
|
|
concurrentFeatures: true,
|
|
serverComponents: true,
|
|
},
|
|
})
|