Official Code Sandbox Git Repo #809
Replies: 5 comments
-
|
This may serve as a good base for the vite+codesandbox running example: https://codesandbox.io/p/github/rbbydotdev/mdx-editor-search/sandbox https://github.com/rbbydotdev/mdx-editor-search/releases/tag/codesandbox |
Beta Was this translation helpful? Give feedback.
-
|
The need for a good starting point is a valid one. However, I'm a bit thorn between a bare minimum and something too complicated, as both have their pros and cons. As far as I understand, Stackblitz are moving towards online IDE (Bolt?). Codesandbox does cause trouble (I keep sending private sandboxes), but it's still the lesser evil I guess. To your point, I love Vite, and it sort of works in Codesandbox, but their "classic" sandboxes seem faster and less buggy. They are, however, hard to use if you want to clone and work locally. |
Beta Was this translation helpful? Give feedback.
-
|
How about 2 sandboxes , minimal and batteries included. Of course I would strip out the search example I have put there . It was just incidental from why I created the sandbox in the first place I say sandboxes , but even just a branch or repo … then you should be able to point stack blitz or codesandbox at them. Just a “ golden “ starting point to remove friction I think could help out for now |
Beta Was this translation helpful? Give feedback.
-
|
I refined the repo a bit made it very basic, added both codesandbox and stack blitz buttons. uses vite and react 19 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, this is really helpful - I was not aware of the magic links to boot sandbox/stackblitz from a repository. I forked the repo, did some minor touchups and updated the issue template with it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
An official code sandbox / stack blitz / demo (plus short and quick instructions) repo would be a good way for developers to contribute and troubleshoot without friction
I had a small hiccup using https://codesandbox.io/p/sandbox/mdx-editor-base-q8s7zr
Cloning and pulling down there was an issue with an outdated react version
A lock file was also absent, which may have also been the root of the issue
(ALSO codesandbox is a bit buggy these days, maybe stackblitz would be better?)
A mechanism (via github actions?) may be of use to keep the codesandbox repo up to do date with the main repo
A modern build and harness like vite would also be a good choice. react-scripts is deprecated
Happy to help, and put something together 😃
git pullto get started for environment virtualizationBeta Was this translation helpful? Give feedback.
All reactions