Skip to content

Commit f27570a

Browse files
committed
docs: updated docs for AwaitLoader
1 parent 47f95dd commit f27570a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/docs/Quick Guide/consume-loader.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@ const UserRoute = () => {
8787
};
8888
```
8989

90+
<ul>
91+
<li>
92+
<a
93+
href="https://codesandbox.io/s/ryfylke-react-rtk-query-loader-awaitloader-example-l6vjn3?file=/src/App.tsx"
94+
target="_blank"
95+
>
96+
Live example on CodeSandbox
97+
</a>
98+
</li>
99+
</ul>
100+
90101
</Tab>
91102
<Tab label="useLoader" value="useLoader">
92103

docs/docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ const config = {
7070
src: "img/logo.png",
7171
},
7272
items: [
73+
{
74+
href: "https://github.com/ryfylke-react-as/rtk-query-loader/releases",
75+
label: "Changelog",
76+
position: "right",
77+
},
7378
{
7479
href: "https://codesandbox.io/s/rtk-query-loader-1-0-0-demo-forked-du3936?file=/src/loaders/pokemonLoader.tsx",
7580
label: "Demo",

0 commit comments

Comments
 (0)