Codesandbox sample app review
See original GitHub issueWe’re using codesandbox hosted sample applications in several places in our docs. We need to review all of these to:
- Make sure they’re all still working properly; we’ve noticed some strangeness with
graphql@16
that is causing them to break. - Make sure they’re all moved over the
apollographql
codesandbox org. - Make sure the codesandbox links in the docs are all still pointing to valid sample apps.
- update issue templates to include new link to template
- if possible, setup github redirect to point to new template location
- ensure we updates all references in docs to this template.
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
react-native-in-app-review examples
Learn how to use react-native-in-app-review by viewing and forking example apps that make use of react-native-in-app-review on CodeSandbox. ; Latest version4.2.1.
Read more >react-review examples
React Review Examples. Learn how to use react-review by viewing and forking example apps that make use of react-review on CodeSandbox.
Read more >react-star-review examples
React Star Review Examples. Learn how to use react-star-review by viewing and forking example apps that make use of react-star-review on CodeSandbox.
Read more >react-native-store-review examples
Learn how to use react-native-store-review by viewing and forking example apps that make use of react-native-store-review on CodeSandbox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s another issue related to this https://github.com/apollographql/apollo-client/issues/9659 (shoutout alessia!)
@alessbell fix in this thread worked. Some changes we can make to the error-template repo:
The
graphql@16
module seems to not transpile correctly on codesandboxes, see this for example. I think we can just revert graphql back down to 15.x until this is fixedCodesandbox seems to no longer want
*.jsx
files as entrypoints, though I can’t find this actually written anywhere. Very strange. Given that the fullstack tutorial uses Typescript, I think we can kill two birds with one stone and convert theindex.jsx
file to anindex.tsx
file, both letting it actually render, and putting it in a language which most apollo-client users are probably using anyways.CC @hwillson
Edit: Regarding issue 9659, everything seems to be an issue with codesandbox. Downloading the CS to local and running works fine.
Nope! We can just set
"main":"index.jsx"
in thepackage.json
, which feels more straightforward.