Giter Club home page Giter Club logo

Comments (2)

okinawaa avatar okinawaa commented on August 16, 2024

@manudeli

If We don't solve this, do We have a lot of problems using useSuspenseCache?

Could you explain more specifically about the tearing issue I realized what kind of issue it is, but I haven't experienced the UI being twisted in real life.

I was wondering if there were any really frequent tearing issues! in real application 😄

Thank you for discovering such a good problem and trying to solve it!

from suspensive.

manudeli avatar manudeli commented on August 16, 2024

Some people may think that the tearing issue is not a big problem. However, in applications where data accuracy is important, like bank application etc., the tearing issue causes the problem of not accurately synchronizing the current external store state, and I think this can be treated as a big problem. We are in a position to manage library that use external store such as Await. If there is a way to solve it, I think solving this problem is the right direction.

We can check this video to understand what is tearing issue of concurrent feature in React

We can check in this discussion other libraries following this useSyncExternalStore

By the way, I tried to reproduce the tearing problem in our suspensive for even 3 hours, but I could not🥲. If I can reproduce it in the future, I would like to do it.

from suspensive.

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.