Giter VIP home page Giter VIP logo

Comments (6)

collinsleewyatt avatar collinsleewyatt commented on September 16, 2024 1

Thanks :) I can confirm that behavior is consistent between 12.0.0-next.12 and 12.0.0-next.17. Appreciate the look into this.

from react-flow.

moklick avatar moklick commented on September 16, 2024

Thanks for the super detailed explanation here :) This should be fixed in 12.0.0-next.16.

from react-flow.

collinsleewyatt avatar collinsleewyatt commented on September 16, 2024

Hey, I've tested my example on v12-next.16, and I'm not able to get nodesInitialized to run consistently on the demo. I've added an alert statement whenever nodesInitialized changes for debugging purposes. The nodes useEffect will run only once (not twice for population & measurement), and the nodesInitialized useEffect seems to only fire when I initialize / hot reload the page. However, on my school project, I'm able to get nodesInitialized to fire, and I'm not really sure why it's inconsistent here.

This is on v12-next.16:
https://codesandbox.io/p/sandbox/reactflow-measurement-bug-v12-next-12-forked-yw88qs

Thanks for the response and maintaining this package.

from react-flow.

moklick avatar moklick commented on September 16, 2024

It seems we need to re-open this :/ We will check it next week. Thanks for the codesandbox!

from react-flow.

collinsleewyatt avatar collinsleewyatt commented on September 16, 2024

Thanks! Take care.

from react-flow.

moklick avatar moklick commented on September 16, 2024

This is fixed in 12.0.0-next.17. Thanks again @collinsleewyatt !

from react-flow.

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.