Skip to content

Commit 3f48fba

Browse files
committed
nits
1 parent 1d68b98 commit 3f48fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/pages/docs/n1-dataloader.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Solving the N+1 Problem with `DataLoader`
33
---
44

5-
When building a GraphQL API with `graphql-js`, it's common to
5+
When building a server with GraphQL.js, it's common to
66
run into performance issues caused by the N+1 problem: a pattern that
77
leads to a large number of unnecessary database or service calls,
88
especially in nested query structures.
@@ -42,7 +42,7 @@ duplicate queries unless you implement deduplication or batching manually.
4242

4343
## Why this happens in GraphQL.js
4444

45-
In `graphql-js`, each field resolver runs independently. There's no built-in
45+
In GraphQL.js, each field resolver runs independently. There's no built-in
4646
coordination between resolvers, and no automatic batching. This makes field
4747
resolvers composable and predictable, but it also creates the N+1 problem.
4848
Nested resolutions, such as fetching an author for each post in the previous

0 commit comments

Comments
 (0)