Coder Social home page Coder Social logo

daily-todo's Introduction

ReadMeSupportPalestine

Website Preview

StackOverflow Stats

Asad's StackOverflow stats

Open Source Projects

Firestore Search File Case Dialogs

Asad's Github stats

daily-todo's People

Contributors

asadamatic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

daily-todo's Issues

database update operations are missing await

Yo! I was just reading an answer by you on StackOverflow about usage of ChangeNotifier+FutureBuilder where you referenced your code, and so I was glancing at your queries just now... I'm not 100% sure, but I'm like pretty sure, that you should be using await before your operations such as db.delete in LocalDatabase.dart; the issue is that your method--which is async--calls db.delete() and then immediately calls notifyListeners(), but the operation (which at least will have begun AFAIK, as dart futures are eager) might not have completed by the time the notification happens, as db.delete is (I'm pretty sure) async. In practice it probably works almost all of the time, but I don't think "because it is correct". Regardless: just wanted to make sure I wasn't the asshole who saw a bug in code from someone who helped me and then just didn't try to help back ;P.

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.