rsnext/test/integration/react-streaming-and-server-components/unsupported-native-module
Jiachi Liu d2cef24d5d
Fix image related link prop warning with react 18 beta (#31895)
## 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,
  },
})
```
2021-11-30 18:37:22 +00:00
..
pages Improve error message for importing unsupported native modules (#30829) 2021-11-02 21:03:29 +00:00
next.config.js Fix image related link prop warning with react 18 beta (#31895) 2021-11-30 18:37:22 +00:00
package.json Improve error message for importing unsupported native modules (#30829) 2021-11-02 21:03:29 +00:00