Giter Site home page Giter Site logo

Comments (4)

brianegan avatar brianegan commented on July 20, 2024 1

Yah no worries, this is a pretty ugly combo of Stream + Widget layer, quick fix since I know where it's at. Please try this PR and let me know if it works for ya:

#227

from flutter_redux.

brianegan avatar brianegan commented on July 20, 2024

Heya @atoka93 :) Nice to hear from ya!

Ah, you're right... Good catch. The error is properly handled by the stream: In other words, the error thrown here does in fact reach the onError callback listening to the stream. However, in this case, the StreamBuilder is listening to the Stream, and I'm only paying attention to a specific variable to throw an error. A small change should make this work properly!

from flutter_redux.

atoka93 avatar atoka93 commented on July 20, 2024

I'm not that familiar with Dart streams, was never required to work with them extensively and never took the time to familiarize myself with them for the fun of it. That's also the reason I didn't provide a pull request with the issue. 😬
But I could start filling that gap in my knowledge and open a pull request later this week if you'd like

from flutter_redux.

brianegan avatar brianegan commented on July 20, 2024

Fixed by #227

from flutter_redux.

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.