Giter Club home page Giter Club logo

Comments (9)

mkuts12 avatar mkuts12 commented on May 5, 2024 3

Hey again,
after investing almost two days into figuring out what the hell is going on, it appears that the problem is the id of the div i try to render into.
In your example it is set to 'graphiql' and in my project it is 'app'.
when chaning my app to 'graphiql' it worked. and when changing in your example 'graphql' to 'unique' it didn't work anymore.

I am shocked

from graphiql.

mkuts12 avatar mkuts12 commented on May 5, 2024 2

I am infinitely sorry. Of course it won't work since the way css works.
maybe you can write about it in the readme or bind the css to the component, please?

from graphiql.

leebyron avatar leebyron commented on May 5, 2024 2

I'm glad you figured out what was going on! I'll find a way to make the css bindings more appropriate so that this kind of issue is harder to get yourself into in the future.

from graphiql.

KATT avatar KATT commented on May 5, 2024

+1

from graphiql.

leebyron avatar leebyron commented on May 5, 2024

Are you running graphiql via express-graphql?

I realized that I had just released a breaking change in a point release, so I republished to account for the breaking change. I'll make the change to express-graphql now as well.

from graphiql.

leebyron avatar leebyron commented on May 5, 2024

Ok, I could easily reproduce this issue when trying to update http://graphql-swapi.parseapp.com/. I've got new versions of both graphiql and express-graphql on npm which should fix this, and have unpublished the offending ones so people don't accidentally run into this when they npm install!

Thanks again for the fast report

from graphiql.

blaiprat avatar blaiprat commented on May 5, 2024

Reinstalled node_modules and it shows fine now. Thanks for the quick fix and the awesome work!

from graphiql.

leebyron avatar leebyron commented on May 5, 2024

Most excellent, thanks for confirming the fix!

from graphiql.

mkuts12 avatar mkuts12 commented on May 5, 2024

Hey @leebyron, I have the same issue but I don't use express-graphql.
I work in a company with closed network and express-graphql uses cdns.

I use webpack with css and style loaders for the css.
I've made a project with the problem. It's very simple and I will be happy if you help me. I'm simply lost

https://github.com/mkuts12/graphiql-testing

from graphiql.

Related Issues (20)

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.