Giter VIP home page Giter VIP logo

Comments (3)

mdpratt avatar mdpratt commented on July 21, 2024

I am not able to reproduce this issue with the latest version v1.5.14. Is is possible you had a linter or jest running in the background causing this?

from xstate-tools.

mattpocock avatar mattpocock commented on July 21, 2024

@mdpratt I do still get this - it's a weakness with the way we render the visualiser. The fix for it would be:

  1. Make a PR to xstate-viz to allow for changing the visualised machine via postMessage
  2. Make the vscode extension communicate those messages

You would STILL get some blinking because of the way it's rendered. So then you'd need to:

  1. Change the way the elk rendering works to ensure that the current machine is on screen while the other one is being pre-rendered.

from xstate-tools.

Andarist avatar Andarist commented on July 21, 2024

This is being improved in #232 . When it comes to the visualizer - we might still do a full refresh when you actually edit the displayed machine but we avoid refreshing when unrelated parts of the code change.

from xstate-tools.

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.