Skip to content

Commit bd04c70

Browse files
authored
docs: fix typos (#6121)
* docs(typo): fix typo in word "semi-colon" remove hyphen from word. Now "semicolon" * docs(typo): fix grammar error Replace "it's" with "its" * docs(typo): fix grammar error Replace "along side" with "alongside" * docs(typo): fix spelling error Replace "fallback" with "fall back". Fallback can only be used as a noun
1 parent 73390a1 commit bd04c70

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Must be one of the following:
8282
- **fix**: A bug fix
8383
- **docs**: Documentation only changes
8484
- **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing
85-
semi-colons, etc)
85+
semicolons, etc.)
8686
- **refactor**: A code change that neither fixes a bug nor adds a feature
8787
- **perf**: A code change that improves performance
8888
- **test**: Adding missing or correcting existing tests

docs/react/devtools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function App() {
6969
- `context?: React.Context<QueryClient | undefined>`
7070
- Use this to use a custom React Query context. Otherwise, `defaultContext` will be used.
7171
- `errorTypes?: { name: string; initializer: (query: Query) => { toString(): string }}`
72-
- Use this to predefine some errors that can be triggered on your queries. Initializer will be called (with the specific query) when that error is toggled on from the UI. It must return an item that can be stringified so we can check for it's presence on any given query.
72+
- Use this to predefine some errors that can be triggered on your queries. Initializer will be called (with the specific query) when that error is toggled on from the UI. It must return an item that can be stringified so we can check for its presence on any given query.
7373

7474
## Embedded Mode
7575

docs/react/guides/does-this-replace-client-state.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ With those points in mind, the short answer is that TanStack Query **replaces th
1212

1313
For a vast majority of applications, the truly **globally accessible client state** that is left over after migrating all of your async code to TanStack Query is usually very tiny.
1414

15-
> There are still some circumstances where an application might indeed have a massive amount of synchronous client-only state (like a visual designer or music production application), in which case, you will probably still want a client state manager. In this situation it's important to note that **TanStack Query is not a replacement for local/client state management**. However, you can use TanStack Query along side most client state managers with zero issues.
15+
> There are still some circumstances where an application might indeed have a massive amount of synchronous client-only state (like a visual designer or music production application), in which case, you will probably still want a client state manager. In this situation it's important to note that **TanStack Query is not a replacement for local/client state management**. However, you can use TanStack Query alongside most client state managers with zero issues.
1616
1717
## A Contrived Example
1818

@@ -38,7 +38,7 @@ const globalState = {
3838
}
3939
```
4040

41-
This also means that with a few hook calls to `useQuery` and `useMutation`, we also get to remove any boilerplate code that was used to manage our server state eg.
41+
This also means that with a few hook calls to `useQuery` and `useMutation`, we also get to remove any boilerplate code that was used to manage our server state e.g.
4242

4343
- Connectors
4444
- Action Creators

docs/react/reference/focusManager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ focusManager.setEventListener(handleFocus => {
3737

3838
## `focusManager.setFocused`
3939

40-
`setFocused` can be used to manually set the focus state. Set `undefined` to fallback to the default focus check.
40+
`setFocused` can be used to manually set the focus state. Set `undefined` to fall back to the default focus check.
4141

4242
```tsx
4343
import { focusManager } from '@tanstack/react-query'

0 commit comments

Comments
 (0)