Git Product home page Git Product logo

Comments (4)

fabienjuif avatar fabienjuif commented on May 25, 2024

I don't like the fact that we have to control each error than can occurs if the API is not respected.
Because this is a bunch of if to add for developpement time only (and that will be triggered in production times)

from k-ramel.

EmrysMyrddin avatar EmrysMyrddin commented on May 25, 2024

I agree that all the cases doesn't have to be handled. Juste the one or tow that have a lots of chance to occur.

For example, in this case, I'm not sure that we should throw an error at all. In redux connect HOC, no errors are thrown if you doesn't return an object nor if you doesn't give any parameter at all.

And for now, you can't let errors as it is. Since the source mapping doesn't works, it leaves the developper alone with a cryptic error without any idea of what's happening.

from k-ramel.

fabienjuif avatar fabienjuif commented on May 25, 2024

Yes I agree.
Maybe we have to fix source mapping in first place ?

from k-ramel.

EmrysMyrddin avatar EmrysMyrddin commented on May 25, 2024

Yes, source mapping have to be fixed. It will clean up a litle the errors.

from k-ramel.

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.