rsnext/packages/next/types
Shu Ding 89b4605f1a
Vendor react@experimental under an experimentalReact flag (#47759)
Next.js includes various feature sets that depend on specific release
channels of React. However, our current setup only includes the `next`
channel of React, which restricts our ability to integrate with features
available on the `experimental` channel.

To address this limitation, this pull request introduces the following
changes:
- Vendors the `react@experimental` version, along with the corresponding
`react-dom` and `scheduler` packages.
- Modifies the `sync-react` script to also update the `experimental`
channel and removes `--version` as they're always synced to the latest
now.
- Retains the default behavior of using the `next` channel in the
`appDir` directory.
- Adds an option to switch to the `experimental` channel by setting
`experimental.experimentalReact: true` in the configuration.

fix NEXT-926 ([link](https://linear.app/vercel/issue/NEXT-926))
2023-04-05 14:05:47 +00:00
..
compiled.d.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
global.d.ts Update cache handling for app (#43659) 2022-12-02 23:32:49 -08:00
index.d.ts Expose metadata types (#47630) 2023-03-29 11:16:47 +00:00
misc.d.ts Vendor react@experimental under an experimentalReact flag (#47759) 2023-04-05 14:05:47 +00:00
webpack.d.ts Move core files to src folder and move JS files to TypeScript (#44405) 2023-01-03 10:05:50 +01:00