Skip to content

Commit

Permalink
Revert "Revert "Relay Support in Rust Compiler" (#33699)"
Browse files Browse the repository at this point in the history
This reverts commit b5d4564.
  • Loading branch information
ijjk committed Jan 26, 2022
1 parent 865a079 commit 7b337f3
Show file tree
Hide file tree
Showing 35 changed files with 2,424 additions and 141 deletions.
13 changes: 13 additions & 0 deletions docs/advanced-features/compiler.md
Expand Up @@ -94,6 +94,19 @@ const customJestConfig = {
module.exports = createJestConfig(customJestConfig)
```

### Relay

To enable [Relay](https://relay.dev/) support:

```js
// next.config.js
module.exports = {
experimental: {
relay: true,
},
}
```

### Remove React Properties

Allows to remove JSX properties. This is often used for testing. Similar to `babel-plugin-react-remove-properties`.
Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -59,6 +59,7 @@
"@types/http-proxy": "1.17.3",
"@types/jest": "24.0.13",
"@types/node": "13.11.0",
"@types/relay-runtime": "13.0.0",
"@types/selenium-webdriver": "4.0.15",
"@types/sharp": "0.29.3",
"@types/string-hash": "1.1.1",
Expand Down Expand Up @@ -145,6 +146,8 @@
"react-dom": "17.0.2",
"react-dom-18": "npm:react-dom@18.0.0-rc.0",
"react-ssr-prepass": "1.0.8",
"relay-compiler": "13.0.1",
"relay-runtime": "13.0.1",
"release": "6.3.0",
"request-promise-core": "1.1.2",
"resolve-from": "5.0.0",
Expand Down

0 comments on commit 7b337f3

Please sign in to comment.