Giter Site home page Giter Site logo

just wanted to say about trkl HOT 2 CLOSED

katywings avatar katywings commented on June 15, 2024
just wanted to say

from trkl.

Comments (2)

jbreckmckye avatar jbreckmckye commented on June 15, 2024

Firstly, than you for the compliment! I hope trkl proves a useful library for others. I'm always interested to hear if people are using it.

As to your question about errors:

How is the stacktrace for errors in subscriber functions?

Less than transparent. It will start with the line that failed in the subscriber, but the stack will refer to trkl's internals. Here's an example from a JSBin:

image

Another thing: if a subscriber throws an error, the whole data flow will stop. This might not be ideal in very large applications.

Ultimately trkl is simple. Simple as in small and straightforward, but also simple as in dumb.

What kind of error behaviour would you like, if you had the choice? Providing it's not too complicated, I'd always consider adding it.

from trkl.

katywings avatar katywings commented on June 15, 2024

Thanks for your detailed feedback and the example, when I looked at it, JSbins src was minified and I couldnt really see how it would look like in the real world :D. I will do some cross browser testing in the next few weeks (sry, dont have a lot of time currently ^^). Generally speaking, I especially like the simplicity of trkl - thats what making it fast for UI State - i hope :)!

from trkl.

Related Issues (5)

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.