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

Codesandbox example linked in issue template is 404 #7862

Closed
IanVS opened this issue Aug 6, 2024 · 4 comments · Fixed by #7878
Closed

Codesandbox example linked in issue template is 404 #7862

IanVS opened this issue Aug 6, 2024 · 4 comments · Fixed by #7878

Comments

@IanVS
Copy link
Contributor

IanVS commented Aug 6, 2024

Describe the bug

I want to open an issue, and was going to try to create a minimal reproduction, but the link in the template seems outdated:

Feel free to fork any of the official CodeSandbox examples to reproduce your issue: https://tanstack.com/query/v4/docs/examples/react/simple

It points to v4, but the page is also missing and gives a 404 error.

Your minimal, reproducible example

Try visiting https://tanstack.com/query/v4/docs/examples/react/simple

Steps to reproduce

Click "new issue" in GitHub, click the link to the official CodeSandbox example, get 404

Expected behavior

I expected to be taken to a codesandbox page so that I could fork it and reproduce my issue.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

NA

Tanstack Query adapter

None

TanStack Query version

N/A

TypeScript version

No response

Additional context

No response

@IanVS
Copy link
Contributor Author

IanVS commented Aug 6, 2024

Further, when I did find the v5 examples and tried to fork in stackblitz, I get an error from stackblitz as well.

image image

When I visit the link directly, it seems to work, though: https://stackblitz.com/edit/tanstack-query-k3intu?file=src%2Findex.tsx&preset=node

@TkDodo
Copy link
Collaborator

TkDodo commented Aug 9, 2024

The correct link is:

https://tanstack.com/query/v4/docs/framework/react/examples/simple

please file a PR to update the template, thanks

@IanVS
Copy link
Contributor Author

IanVS commented Aug 9, 2024

You still want it to point to the V4 docs?

@TkDodo
Copy link
Collaborator

TkDodo commented Aug 9, 2024

No, /latest please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants