denoland / denoland/examples

qwik: api/dinosaurs routes defined but not called from anywhere

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
114
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Seems data is not loaded from backend api, it loaded from json file directly.

For example:

https://github.com/denoland/examples/blob/main/with-qwik/src/routes/index.tsx:

```tsx
import data from "~/data/dinosaurs.json" with { type: "json" };

export const useDinosaurs = routeLoader$(() => {
return data;
});
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.