Skip to content

Commit 3392b37

Browse files
authored
Is shadow a better term here? (#22524)
I'm still learning Gatsby, but from what I've read, overriding files is done with shadowing. If that's true, using the word shadow here instead is more precise and clear.
1 parent d31f374 commit 3392b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/themes/conventions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exports.onPreBootstrap = ({ store, reporter }) => {
3434

3535
## Separating queries and presentational components
3636

37-
As a theme author, it's preferable to separate your data gathering and the components that render the data. This makes it easier for end users to be able to override a component like `PostList` or `AuthorCard` without having to write a [pageQuery](/docs/page-query) or [StaticQuery](/docs/static-query).
37+
As a theme author, it's preferable to separate your data gathering and the components that render the data. This makes it easier for end users to be able to shadow a component like `PostList` or `AuthorCard` without having to write a [pageQuery](/docs/page-query) or [StaticQuery](/docs/static-query).
3838

3939
### Page queries
4040

0 commit comments

Comments
 (0)