Git Product home page Git Product logo

try-graphql's Introduction

Try GraphQL!

This is a React app built with Next.js that powers Try GraphQL.

Installation

Clone the repo and run:

npm install
npm run dev

This is my first real React app so there's probably a bunch of stuff I'm doing wrong. I bet you'll find an anti-pattern or two in these here codes. Pull requests and general guidance are welcome!

TODO

  • [] Clean up the three challenge status components so there's not so much code repition
  • [] Find a better way to organize and import all the markdown files
  • [] Write tests
  • [] Add descriptions of each tutorial for meta tags

License

MIT

try-graphql's People

Contributors

abooayoob avatar bryanbraun avatar chenkie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

try-graphql's Issues

add examples / documentation to lesson 4

In lesson 4

"Hint: The argument to pass is nested within a top-level where object. For example:"

This could use some additional examples / links to documentation.

Selected code in graphiql editor is not identifiable

This whole query is "selected":

image

Seems to be a problem with the CSS. But, the blocks of .CodeMirror-selected that are being created are worrying me a little. So, no clue here. Maybe it's a problem with graphiql-material-theme or you are overriding these styles somewhere.

BTW, thank you very much for this amazing resource!!

Lesson 08 exercise isn't rendering

When I browse to the exercise for lesson 8 (and lesson 9) the exercise window is blank and I'm not able to interact with it.

I'm using Chrome as my browser, version 83.0.4103.106.

Here's what I see:

image

It looks like there are errors in the javascript console, which could help with debugging. Here's the error output:

Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at Module.<anonymous> (https://c.staticblitz.com/assets/client-353697bf962c9a68bc21b.js:2:2879646)
    at a (https://c.staticblitz.com/assets/client-353697bf962c9a68bc21b.js:2:561)
    at n (https://c.staticblitz.com/assets/client-353697bf962c9a68bc21b.js:2:430)
    at https://c.staticblitz.com/assets/client-353697bf962c9a68bc21b.js:2:1536
    at https://c.staticblitz.com/assets/client-353697bf962c9a68bc21b.js:2:1540
client-353697bf962c9a68bc21b.js:2 Uncaught Error: Could not find store registered with name 'appStore'. Registered store names include [  ]. Maybe you forgot to register the store?
    at Object.getStoreGenerator (client-353697bf962c9a68bc21b.js:2)
    at Object.getStoreGenerator (client-353697bf962c9a68bc21b.js:2)
    at d (client-353697bf962c9a68bc21b.js:2)
    at client-353697bf962c9a68bc21b.js:2
    at p (client-353697bf962c9a68bc21b.js:2)
    at g (client-353697bf962c9a68bc21b.js:2)
    at HTMLDocument.<anonymous> (client-353697bf962c9a68bc21b.js:2)
3client-353697bf962c9a68bc21b.js:2 Uncaught Error: There are no stores hydrated and you are requesting the store appStore.
This can happen if you are server rendering and either:
1. You do not call redux_store near the top of your controller action's view (not the layout)
   and before any call to react_component.
2. You do not render redux_store_hydration_data anywhere on your page.
    at Object.getStore (client-353697bf962c9a68bc21b.js:2)
    at Object.getStore (client-353697bf962c9a68bc21b.js:2)
    at je (client-353697bf962c9a68bc21b.js:2)
    at client-353697bf962c9a68bc21b.js:2
4client-353697bf962c9a68bc21b.js:2 Uncaught Error: There are no stores hydrated and you are requesting the store appStore.
This can happen if you are server rendering and either:
1. You do not call redux_store near the top of your controller action's view (not the layout)
   and before any call to react_component.
2. You do not render redux_store_hydration_data anywhere on your page.
    at Object.getStore (client-353697bf962c9a68bc21b.js:2)
    at Object.getStore (client-353697bf962c9a68bc21b.js:2)
    at je (client-353697bf962c9a68bc21b.js:2)
    at client-353697bf962c9a68bc21b.js:2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.