Skip to content

Commit 9ad962e

Browse files
authored
Merge pull request #7099 from QwikDev/pr-fix-broken-link
fixed broken link to re-exporting loaders
2 parents 6a582e4 + f022b49 commit 9ad962e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

packages/docs/public/_redirects

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
/docs/components/lifecycle/ /docs/components/tasks/ 308
6161
/docs/components/projection/ /docs/components/slots/ 308
6262
/docs/components/resource/ /docs/components/state/ 308
63+
/docs/cookbook/re-exporting-loaders/ /docs/re-exporting-loaders/ 308
6364

6465
/qwikcity/* /docs/:splat 308
6566
/integrations/* /docs/integrations/:splat 308

packages/docs/src/routes/docs/cookbook/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ contributors:
1010
- Adbib
1111
- gioboa
1212
- aendel
13+
- shairez
1314
---
1415

1516
# Cookbook
@@ -27,7 +28,6 @@ Examples:
2728
- [Media Controller with iOS Support](./mediaController/)
2829
- [NavLink](./nav-link/)
2930
- [Portals](./portals/)
30-
- [Re-exporting loaders](./re-exporting-loaders/)
3131
- [Streaming/deferred loaders](./streaming-deferred-loaders)
3232
- [Synchronous Events with State](./sync-events/)
3333
- [Theme Management](./theme-management/)

packages/eslint-plugin-qwik/src/loaderLocation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const loaderLocation: Rule.RuleModule = {
4040
(docs: https://qwik.dev/docs/route-loader/).
4141
4242
This {{fnName}}() is declared outside of the route boundaries. This may be useful when you want to create reusable logic or a library. In such a case, it is essential that this function is re-exported from within the router boundary otherwise it will not run.
43-
(docs: https://qwik.dev/docs/cookbook/re-exporting-loaders/).
43+
(docs: https://qwik.dev/docs/re-exporting-loaders/).
4444
4545
If you understand this, you can disable this warning with:
4646
// eslint-disable-next-line qwik/loader-location

packages/qwik-city/src/runtime/src/server-functions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export const routeLoaderQrl = ((
197197
For more information check: https://qwik.dev/qwikcity/route-loader/
198198
199199
If your are managing reusable logic or a library it is essential that this function is re-exported from within 'layout.tsx' or 'index.tsx file of the existing route otherwise it will not run or throw exception.
200-
For more information check: https://qwik.dev/docs/cookbook/re-exporting-loaders/`);
200+
For more information check: https://qwik.dev/docs/re-exporting-loaders/`);
201201
}
202202
return _wrapProp(state, id);
203203
});

0 commit comments

Comments
 (0)