Skip to content

Looking for a way to make codesandbox examples more robust #3530

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

Open
talkingtab opened this issue May 11, 2025 · 0 comments
Open

Looking for a way to make codesandbox examples more robust #3530

talkingtab opened this issue May 11, 2025 · 0 comments

Comments

@talkingtab
Copy link

React-three is a great benefit for me. I try to promote it when possible. One of the most important ways I can promote it is by pointing to the examples:

https://r3f.docs.pmnd.rs/getting-started/examples

Unfortunately the examples are often broken in some manner.

  • mod.default is undefined
  • don't work on iPhone
  • can't find them any more

The examples provide another critical benefit for react-three by making it easy for newbies (like me) to try out and see how things work.

How can we fix this? A set of possible metrics/goal/non-goals would be

  1. 100% uptime. If a user clicks on the example they will see it in action.
  2. The code may not be up to date with the latest release.
  3. A user can download a zip file, unzip it, do an npm install, npm run dev and a local version will start running on localhost.
  4. easy for developers to post and change examples.
  5. NOT the place for non-developers to post examples (use codesandbox for that)

My first pass thinking is not to use codesandbox for this. Codesandbox is great, but I wonder if it adds some complexity that is not required for the minimum viable examples?

I would contribute some effort to solve this.

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

No branches or pull requests

1 participant