redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

Adding sandbox with creds includes, but from my own account

Open AleksandrukTad opened this issue 2 years ago • 6 comments

Hey, I added to docs example of using graphql-request but with your own client. Unfortunately I cannot create codesandbox example from the same account as the all other examples. Could you guys help out with that?

AleksandrukTad avatar Jun 15 '22 14:06 AleksandrukTad

#https://github.com/reduxjs/redux-toolkit/issues/2418

AleksandrukTad avatar Jun 15 '22 14:06 AleksandrukTad

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2777ccbc88dbd0c7f48d7fe81adb77bcf9a07e8d:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration

codesandbox-ci[bot] avatar Jun 15 '22 14:06 codesandbox-ci[bot]

Deploy Preview for redux-starter-kit-docs ready!

Name Link
Latest commit 2777ccbc88dbd0c7f48d7fe81adb77bcf9a07e8d
Latest deploy log https://app.netlify.com/sites/redux-starter-kit-docs/deploys/63ea3266d06a720008e47d84
Deploy Preview https://deploy-preview-2419--redux-starter-kit-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jun 15 '22 14:06 netlify[bot]

Going to the future, it would be best to have all the CodeSandbox examples in

https://github.com/reduxjs/redux-toolkit/tree/master/examples/query/react they can then be linked in the docs by replacing

-https://github.com/reduxjs/redux-toolkit/tree/master/examples/query/react/graphql
+https://githubbox.com/reduxjs/redux-toolkit/tree/master/examples/query/react/graphql

You can also try this with your own branch by changing an existing example or adding a new one: https://github.com/AleksandrukTad/redux-toolkit/tree/add-own-client-example/examples/query/react/graphql Just change the link back to where it would be on the main repo in the final PR.

phryneas avatar Jun 24 '22 13:06 phryneas

Following up on this - @AleksandrukTad , can you redo this example by putting the code into our /examples folder (either as a standalone example, or a modification to the existing "GraphQL" example)? We can then point a sandbox to that folder.

markerikson avatar Jul 03 '22 19:07 markerikson

Sure just been drawning in tasks lately. Will do it as soon as I got some free time :D

AleksandrukTad avatar Jul 07 '22 15:07 AleksandrukTad

Hey, I created new examples project as graphql-custom-client.

AleksandrukTad avatar Feb 13 '23 12:02 AleksandrukTad