Giter Site home page Giter Site logo

Comments (5)

tux21b avatar tux21b commented on May 27, 2024 1

You are my personal hero! Everything in my project now works again as expected.

Thanks for your quick and friendly reply and the fast bugfix!

from jotai.

tux21b avatar tux21b commented on May 27, 2024 1

Ups, I accidently closed the issue. I am happy with the MR, but the issue should be probably closed when the MR was merged.

from jotai.

dai-shi avatar dai-shi commented on May 27, 2024

Thanks for reporting.
This happens because we don't update "dependents" during write.
I'm afraid we need completely different logic. Somewhat related: #2029 #1901

#2029 (comment) I gave up once, but we'd need revisit it soon. (I feel like it's a good timing to have more contributors who understand the core code in deep.)

from jotai.

dai-shi avatar dai-shi commented on May 27, 2024

I'm afraid we need completely different logic.

On second thought, this can be a simple bug in recomputeDependents. 🤔

from jotai.

dai-shi avatar dai-shi commented on May 27, 2024

#2086 should fix it.
Please try it with your actual app.
https://ci.codesandbox.io/status/pmndrs/jotai/pr/2086
☝️ Find "Local Install Instructions"

from jotai.

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.