Skip to content

Commit 8fa8013

Browse files
authored
align README with new dev mode (graphql#4590)
NODE_ENV in v17 does not affect development mode, see changes in graphql#4464 => dev mode is off by default
1 parent 7a29f5e commit 8fa8013

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ graphql({ schema, source }).then((result) => {
108108
});
109109
```
110110

111-
**Note**: Please don't forget to set `NODE_ENV=production` if you are running a production server. It will disable some checks that can be useful during development but will significantly improve performance.
112-
113111
## Want to ride the bleeding edge?
114112

115113
The `npm` branch in this repository is automatically maintained to be the last
@@ -122,7 +120,7 @@ directly on this branch:
122120
npm install graphql@git://github.com/graphql/graphql-js.git#npm
123121
```
124122

125-
### Using in a Browser
123+
## Using in a Browser
126124

127125
GraphQL.js is a general-purpose library and can be used both in a Node server
128126
and in the browser. As an example, the [GraphiQL](https://github.com/graphql/graphiql/)

0 commit comments

Comments
 (0)