Comments (2)
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:
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trkl.