Giter Site home page Giter Site logo

Comments (6)

zikaari avatar zikaari commented on July 21, 2024

Can you please provide a minimal repro code?

from aspen.

LoganDark avatar LoganDark commented on July 21, 2024

It seems like the issue is manifesting whenever there are many re-renders in a short time frame. I can't provide a repro right this minute but I can try to get one soon

from aspen.

zikaari avatar zikaari commented on July 21, 2024

The inotify pipeline does have debouncing built-in to prevent frequent re-renders, but there are some specific cases where the inotify event queue is flushed. Based on the code we'll be able to find when/if that flush is being triggered.

from aspen.

LoganDark avatar LoganDark commented on July 21, 2024

The inotify pipeline does have debouncing built-in to prevent frequent re-renders

When my app is playing animations, it re-renders the tree view at (ideally) 60fps. This causes a big fat error as well. So it might not be inotify after all.

from aspen.

LoganDark avatar LoganDark commented on July 21, 2024

Now this happens for each child of the directory when an expanded directory is deleted via inotify. Directory has 13 children? 13 errors

Maybe this is a race condition when chokidar emits deleted events for both a directory and its children

from aspen.

zikaari avatar zikaari commented on July 21, 2024

Maybe this is a race condition when chokidar emits deleted events for both a directory and its children

I see this as a plausible case.

Stack trace might be of help here. Better yet, some breakpoints that can help us understand the flow of events leading to the errors.

from aspen.

Related Issues (16)

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.