Baz
Baz
Thank you for the suggestion. Would you mind sharing the real-world use-case that made you request this? I can think of some for sure, but I would be interested to...
Hey, I don't think you can do that with this lib, it's synchronous. The cached result would be the result of sending the request, not receiving the data. Do you...
Ha that's great, never considered trying with `async` (this was built long before the feature was available), I have to think about this!
Thanks for the contribution. I made some updates to it here: https://github.com/thinkloop/memoizerific/tree/pbadenski-normalizer-fn After thinking about it further, I remembered that JSON.stringify() is an unreliable way to compare objects: https://stackoverflow.com/a/26077521/1062794. And...
> I can't see how can you combine that with use of Maps and all the performance benefits associated with them. I came to the same conclusion when I looked...
Added to readme: https://github.com/thinkloop/memoizerific/blob/master/README.md#wrapper-function
Hey Pawel, what about the wrapper function? It works especially well with dates. Rather than passing in a date object, you pass in each part of the date as a...
:-D I try to be very judicious with APIs, there is value in being able to do 90% simply, than trying to get in the last 10% with a lot...
For 1, even though you should never using stringify(), as it will cause inconsistent results, be hard to debug (especially for new devs not aware), and possibly cause huge problems...
I'm not sure why I didn't think of this originally, but I can simply subscribe directly to the underlying Firebase independent of KnockoutFire: ``` recommenderFirebase.child('ratings/suggestions').child(user.id).limit(20).on('child_added', function(data) { log(data.val()); }); ```