Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix typo in react query integration snippet #4368

Merged
merged 1 commit into from
May 16, 2023

Conversation

itsravenous
Copy link
Contributor

🎯 Changes

A simple typo fix in this documentation snippet.

βœ… Checklist

  • I have followed the steps listed in the Contributing guide.
  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made. (N/A)

@itsravenous itsravenous requested a review from a team as a code owner May 16, 2023 15:15
@vercel
Copy link

vercel bot commented May 16, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
www βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 16, 2023 3:18pm

@vercel
Copy link

vercel bot commented May 16, 2023

@itsravenous is attempting to deploy a commit to the trpc Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@Nick-Lucas Nick-Lucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution

@Nick-Lucas Nick-Lucas merged commit 01973e1 into trpc:main May 16, 2023
32 of 34 checks passed
kodiakhq bot added a commit to weareinreach/InReach that referenced this pull request May 21, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@playwright/test](https://playwright.dev) ([source](https://togithub.com/Microsoft/playwright)) | [`1.33.0` -> `1.34.0`](https://renovatebot.com/diffs/npm/@playwright%2ftest/1.33.0/1.34.0) | [![age](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.34.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.34.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.34.0/compatibility-slim/1.33.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@playwright%2ftest/1.34.0/confidence-slim/1.33.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/client](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.26.0` -> `10.27.1`](https://renovatebot.com/diffs/npm/@trpc%2fclient/10.26.0/10.27.1) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.27.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.27.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.27.1/compatibility-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fclient/10.27.1/confidence-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/next](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.26.0` -> `10.27.1`](https://renovatebot.com/diffs/npm/@trpc%2fnext/10.26.0/10.27.1) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.27.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.27.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.27.1/compatibility-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fnext/10.27.1/confidence-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/react-query](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.26.0` -> `10.27.1`](https://renovatebot.com/diffs/npm/@trpc%2freact-query/10.26.0/10.27.1) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.27.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.27.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.27.1/compatibility-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2freact-query/10.27.1/confidence-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) |
| [@trpc/server](https://trpc.io) ([source](https://togithub.com/trpc/trpc)) | [`10.26.0` -> `10.27.1`](https://renovatebot.com/diffs/npm/@trpc%2fserver/10.26.0/10.27.1) | [![age](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.27.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.27.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.27.1/compatibility-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@trpc%2fserver/10.27.1/confidence-slim/10.26.0)](https://docs.renovatebot.com/merge-confidence/) |
| [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.40.0` -> `8.41.0`](https://renovatebot.com/diffs/npm/eslint/8.40.0/8.41.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/compatibility-slim/8.40.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint/8.41.0/confidence-slim/8.40.0)](https://docs.renovatebot.com/merge-confidence/) |
| [inquirer](https://togithub.com/SBoudrias/Inquirer.js/blob/master/packages/inquirer/README.md) ([source](https://togithub.com/SBoudrias/Inquirer.js)) | [`9.2.4` -> `9.2.5`](https://renovatebot.com/diffs/npm/inquirer/9.2.4/9.2.5) | [![age](https://badges.renovateapi.com/packages/npm/inquirer/9.2.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/inquirer/9.2.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/inquirer/9.2.5/compatibility-slim/9.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/inquirer/9.2.5/confidence-slim/9.2.4)](https://docs.renovatebot.com/merge-confidence/) |
| [style-loader](https://togithub.com/webpack-contrib/style-loader) | [`3.3.2` -> `3.3.3`](https://renovatebot.com/diffs/npm/style-loader/3.3.2/3.3.3) | [![age](https://badges.renovateapi.com/packages/npm/style-loader/3.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/style-loader/3.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/style-loader/3.3.3/compatibility-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/style-loader/3.3.3/confidence-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) |
| [typesync](https://togithub.com/jeffijoe/typesync) | [`0.11.0` -> `0.11.1`](https://renovatebot.com/diffs/npm/typesync/0.11.0/0.11.1) | [![age](https://badges.renovateapi.com/packages/npm/typesync/0.11.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typesync/0.11.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typesync/0.11.1/compatibility-slim/0.11.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typesync/0.11.1/confidence-slim/0.11.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>Microsoft/playwright</summary>

### [`v1.34.0`](https://togithub.com/microsoft/playwright/releases/tag/v1.34.0)

[Compare Source](https://togithub.com/Microsoft/playwright/compare/v1.33.0...v1.34.0)

##### Highlights

-   UI Mode now shows steps, fixtures and attachments: <img src="https://github.com/microsoft/playwright/assets/746130/1d280419-d79a-4a56-b2dc-54d631281d56" width=640>

-   New property [`testProject.teardown`](https://playwright.dev/docs/api/class-testproject#test-project-teardown) to specify a project that needs to run after this
    and all dependent projects have finished. Teardown is useful to cleanup any resources acquired by this project.

    A common pattern would be a `setup` dependency with a corresponding `teardown`:

    ```js
    // playwright.config.ts
    import { defineConfig } from '@&#8203;playwright/test';

    export default defineConfig({
      projects: [
        {
          name: 'setup',
          testMatch: /global.setup\.ts/,
          teardown: 'teardown',
        },
        {
          name: 'teardown',
          testMatch: /global.teardown\.ts/,
        },
        {
          name: 'chromium',
          use: devices['Desktop Chrome'],
          dependencies: ['setup'],
        },
        {
          name: 'firefox',
          use: devices['Desktop Firefox'],
          dependencies: ['setup'],
        },
        {
          name: 'webkit',
          use: devices['Desktop Safari'],
          dependencies: ['setup'],
        },
      ],
    });
    ```

-   New method [`expect.configure`](https://playwright.dev/docs/test-assertions#expectconfigure) to create pre-configured expect instance with its own defaults such as `timeout` and `soft`.
    ```js
    const slowExpect = expect.configure({ timeout: 10000 });
    await slowExpect(locator).toHaveText('Submit');

    // Always do soft assertions.
    const softExpect = expect.configure({ soft: true });
    ```

-   New options `stderr` and `stdout`  in [`testConfig.webServer`](https://playwright.dev/docs/api/class-testconfig#test-config-web-server) to configure output handling:

    ```js
    // playwright.config.ts
    import { defineConfig } from '@&#8203;playwright/test';

    export default defineConfig({
      // Run your local dev server before starting the tests
      webServer: {
        command: 'npm run start',
        url: 'http://127.0.0.1:3000',
        reuseExistingServer: !process.env.CI,
        stdout: 'pipe',
        stderr: 'pipe',
      },
    });
    ```

-   New [`locator.and()`](https://playwright.dev/docs/api/class-locator#locator-and) to create a locator that matches both locators.

    ```js
    const button = page.getByRole('button').and(page.getByTitle('Subscribe'));
    ```

-   New events [`browserContext.on('console')`](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-console) and [`browserContext.on('dialog')`](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-dialog) to subscribe to any dialogs
    and console messages from any page from the given browser context. Use the new methods [`consoleMessage.page()`](https://playwright.dev/docs/api/class-consolemessage#console-message-page)
    and [`dialog.page()`](https://playwright.dev/docs/api/class-dialog#dialog-page) to pin-point event source.

##### ⚠️ Breaking changes

-   `npx playwright test` no longer works if you install both `playwright` and `@playwright/test`. There's no need
    to install both, since you can always import browser automation APIs from `@playwright/test` directly:

    ```js
    // automation.ts
    import { chromium, firefox, webkit } from '@&#8203;playwright/test';
    /* ... */
    ```
-   Node.js 14 is no longer supported since it [reached its end-of-life](https://nodejs.dev/en/about/releases/) on April 30, 2023.

##### Browser Versions

-   Chromium 114.0.5735.26
-   Mozilla Firefox 113.0
-   WebKit 16.4

This version was also tested against the following stable channels:

-   Google Chrome 113
-   Microsoft Edge 113

</details>

<details>
<summary>trpc/trpc</summary>

### [`v10.27.1`](https://togithub.com/trpc/trpc/releases/tag/v10.27.1)

[Compare Source](https://togithub.com/trpc/trpc/compare/v10.27.0...v10.27.1)

##### What's Changed

-   fix(`next`): fix `next` `peerDependencies` version by [@&#8203;juliusmarminge](https://togithub.com/juliusmarminge) in [trpc/trpc#4391

**Full Changelog**: trpc/trpc@v10.27.0...v10.27.1

### [`v10.27.0`](https://togithub.com/trpc/trpc/releases/tag/v10.27.0)

[Compare Source](https://togithub.com/trpc/trpc/compare/v10.26.0...v10.27.0)

##### What's Changed

-   feat(`next`): experimental server actions by [@&#8203;KATT](https://togithub.com/KATT) in [trpc/trpc#4359 (see https://github.com/trpc/examples-next-app-dir)

##### New Contributors

-   [@&#8203;itsravenous](https://togithub.com/itsravenous) made their first contribution in [trpc/trpc#4368
-   [@&#8203;sannajammeh](https://togithub.com/sannajammeh) made their first contribution in [trpc/trpc#4367
-   [@&#8203;HynekS](https://togithub.com/HynekS) made their first contribution in [trpc/trpc#4384

**Full Changelog**: trpc/trpc@v10.26.0...v10.27.0

</details>

<details>
<summary>eslint/eslint</summary>

### [`v8.41.0`](https://togithub.com/eslint/eslint/releases/tag/v8.41.0)

[Compare Source](https://togithub.com/eslint/eslint/compare/v8.40.0...v8.41.0)

#### Features

-   [`880a431`](https://togithub.com/eslint/eslint/commit/880a4317b949e575a4a6c5e8baaba1eea7674cc6) feat: change default ignore pattern to `**/node_modules/` in flat config ([#&#8203;17184](https://togithub.com/eslint/eslint/issues/17184)) (Milos Djermanovic)
-   [`8bf5505`](https://togithub.com/eslint/eslint/commit/8bf550594fca6d29fab1a3453e701c1a457767e1) feat: expose `shouldUseFlatConfig` ([#&#8203;17169](https://togithub.com/eslint/eslint/issues/17169)) (Connor Prussin)

#### Bug Fixes

-   [`4f5440d`](https://togithub.com/eslint/eslint/commit/4f5440db631707b17140c4e5cc7beb223afbd2b9) fix: incorrect warning message for ignored dotfiles ([#&#8203;17196](https://togithub.com/eslint/eslint/issues/17196)) (Milos Djermanovic)
-   [`94da96c`](https://togithub.com/eslint/eslint/commit/94da96cbf0fb2bb6694fa2e757eb1b3e74c40db7) fix: unify `LintMessage` type ([#&#8203;17076](https://togithub.com/eslint/eslint/issues/17076)) (Brandon Mills)
-   [`0c415cd`](https://togithub.com/eslint/eslint/commit/0c415cda5d76dbe5120ab9f3c4c81320538e35f0) fix: validate `ignorePatterns` constructor option in `FlatESLint` class ([#&#8203;17139](https://togithub.com/eslint/eslint/issues/17139)) (Milos Djermanovic)
-   [`9682d66`](https://togithub.com/eslint/eslint/commit/9682d669e4ee8641293914e21679f40fee8bc354) fix: switch `grapheme-splitter` to `graphemer` ([#&#8203;17160](https://togithub.com/eslint/eslint/issues/17160)) (fisker Cheung)

#### Documentation

-   [`7709b14`](https://togithub.com/eslint/eslint/commit/7709b14e18ad4e11c1119ed6575454243b8e7084) docs: Update README (GitHub Actions Bot)
-   [`7f183e0`](https://togithub.com/eslint/eslint/commit/7f183e020579380fa57473caaf9ed154470c25b3) docs: Update triage process description ([#&#8203;17157](https://togithub.com/eslint/eslint/issues/17157)) (Nicholas C. Zakas)
-   [`b68346b`](https://togithub.com/eslint/eslint/commit/b68346b290d55324e73868ca42b3854157b27375) docs: fix license to reflect relicensing of jshint ([#&#8203;17165](https://togithub.com/eslint/eslint/issues/17165)) (Stefan Bischof)

#### Chores

-   [`f43216a`](https://togithub.com/eslint/eslint/commit/f43216a8c77ab6cf1d0823978e8c728786b4cba7) chore: upgrade [@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).41.0 ([#&#8203;17200](https://togithub.com/eslint/eslint/issues/17200)) (Milos Djermanovic)
-   [`95c3007`](https://togithub.com/eslint/eslint/commit/95c300780a1cfd9ad680bc78850542eb55d7fbf4) chore: package.json update for [@&#8203;eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins)
-   [`ddc5291`](https://togithub.com/eslint/eslint/commit/ddc5291debd90ff476e17c532af7577e26720b91) chore: don't use deprecated `context` methods in `ast-utils` tests ([#&#8203;17194](https://togithub.com/eslint/eslint/issues/17194)) (Milos Djermanovic)
-   [`b1516db`](https://togithub.com/eslint/eslint/commit/b1516db51514032ed06e1425c4b1f955238dc682) chore: Fix return type of `findFlatConfigFile` ([#&#8203;17161](https://togithub.com/eslint/eslint/issues/17161)) (Milos Djermanovic)
-   [`918b0fd`](https://togithub.com/eslint/eslint/commit/918b0fd21723e84bd7acb17942a36606f1d8360a) perf: Store indent descriptors in a plain array ([#&#8203;17148](https://togithub.com/eslint/eslint/issues/17148)) (Francesco Trotta)
-   [`4caa344`](https://togithub.com/eslint/eslint/commit/4caa34449555d8a680222ec2049d97c59476c11e) refactor: locateConfigFileToUse returns an Error object ([#&#8203;17159](https://togithub.com/eslint/eslint/issues/17159)) (ε”―η„Ά)

</details>

<details>
<summary>SBoudrias/Inquirer.js</summary>

### [`v9.2.5`](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.4...inquirer@9.2.5)

[Compare Source](https://togithub.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.4...inquirer@9.2.5)

</details>

<details>
<summary>webpack-contrib/style-loader</summary>

### [`v3.3.3`](https://togithub.com/webpack-contrib/style-loader/blob/HEAD/CHANGELOG.md#&#8203;333-httpsgithubcomwebpack-contribstyle-loadercomparev332v333-2023-05-19)

[Compare Source](https://togithub.com/webpack-contrib/style-loader/compare/v3.3.2...v3.3.3)

</details>

<details>
<summary>jeffijoe/typesync</summary>

### [`v0.11.1`](https://togithub.com/jeffijoe/typesync/blob/HEAD/CHANGELOG.md#v0111)

[Compare Source](https://togithub.com/jeffijoe/typesync/compare/v0.11.0...v0.11.1)

-   [#&#8203;79](https://togithub.com/jeffijoe/typesync/issues/79):  Ignore deprecated `@typings/` packages.
-   Upgrade packages.

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

β™» **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ‘» **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/weareinreach/InReach).



PR-URL: #493
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
πŸ•Έ www Stuff to do with the website (`/www` folder)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants