Giter Site home page Giter Site logo

Component executed twice? about ran HOT 6 CLOSED

sly777 avatar sly777 commented on May 17, 2024
Component executed twice?

from ran.

Comments (6)

Sly777 avatar Sly777 commented on May 17, 2024

Hey @sheats,

I checked it and yes, it's a bug :) I don't know why but apollo-react is rendering the component two times. I was thinking that's because of the server rendering but It's not. If I find any answer, I will fix.

from ran.

sheats avatar sheats commented on May 17, 2024

I think it might be related to vercel/next.js#978

from ran.

Sly777 avatar Sly777 commented on May 17, 2024

I think it's possible to be fixed after updating the Apollo version.

from ran.

Enalmada avatar Enalmada commented on May 17, 2024

I tried updating next.js/examples/with-apollo to the latest versions and the issue still seems to remain (though note that I only updated dependencies...there is possibly a migration step necessary?). It would be awesome though if we could get RAN updated to the latest Apollo. That could make it easier to bring in some experts to look into this further as they will probably insist on debugging the issue with the latest version. Any chance someone who knows what they are doing could update RAN dependencies to keep the momentum going on this amazing project?

from ran.

Enalmada avatar Enalmada commented on May 17, 2024

BTW, apparently this is the way it works. I suspect this issue can be closed.
vercel/next.js#5050 (comment)

from ran.

Sly777 avatar Sly777 commented on May 17, 2024

Thanks all for help! on @Enalmada's comment, basically it says this is the feature of Apollo :) So I'm closing this issue.

from ran.

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.