Skip to content

Commit

Permalink
Merge pull request #3305 from EskiMojo14/override-existing-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Mar 28, 2023
2 parents 007bcc3 + bfc36cd commit c111bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rtk-query/usage/code-splitting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ export const { useExampleQuery } = extendedApi
```

:::tip
In development mode, if you inject an endpoint that already exists and don't explicitly specify `overrideExisting: true`, the endpoint will not be overridden and you will get a warning about it. You **will not see the warning in production** and the existing endpoint will just be overriden, so make sure to account for this in your tests.
If you inject an endpoint that already exists and don't explicitly specify `overrideExisting: true`, the endpoint will not be overridden. In development mode, you will get a warning about this.
:::

0 comments on commit c111bba

Please sign in to comment.