Giter VIP home page Giter VIP logo

Comments (7)

mike-thompson-day8 avatar mike-thompson-day8 commented on July 17, 2024 1

Yes, a PR would be great. Thanks!

from re-frame.

superstructor avatar superstructor commented on July 17, 2024 1

Sorry @NoahTheDuke I misread the issue/code when I posted my previous comment. The PR that has been merged is a sufficient solution 👍🏻

from re-frame.

superstructor avatar superstructor commented on July 17, 2024

Thanks for the report. Re 3. logging with (re-frame.loggers/console :error ...) might be more appropriate than throwing ?

from re-frame.

NoahTheDuke avatar NoahTheDuke commented on July 17, 2024

@superstructor Yeah, I intended these to be 3 separate potential solutions, not a single giant solution. I can implement whichever you'd like, just let me know.

from re-frame.

superstructor avatar superstructor commented on July 17, 2024

@NoahTheDuke agree with all. I think we should log the error instead of throw it. Look forward to the PR 👍🏻

from re-frame.

superstructor avatar superstructor commented on July 17, 2024

Reopened as #751 implemented 1. but at least 2. (logging) still needs to be done.

from re-frame.

NoahTheDuke avatar NoahTheDuke commented on July 17, 2024

I wrote the docs in my PR under the assumption that returning nil would be an expected behavior, so what kind of logging would you like? I feel like a :warn wouldn't be appropriate, given that I will be relying on this behavior deliberately in a somewhat high-volume code path.

from re-frame.

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.