Alex Reardon

Results 179 comments of Alex Reardon

This looks great! I'll take a look on Monday ❤️

I think this PR is a good starting point towards improving the types. Would you be okay if i merged it as is @Andarist?

The site currently does not list out all of the event object properties (there are many of them) I do have a lesson on the topic though: https://egghead.io/lessons/javascript-the-event-object This is...

I had a think about this and maybe I can do more in the interface to show the different between the two. Perhaps I could call our what the target...

Interesting! Yeah, right now it's just a generic event. I wonder if adding an event name would help?

I am not sure if it should be an extra export, or perhaps controlled with a flag: `window.__memoizeOne-tracing-enabled = true`

There could also be levels to the tracing 0 = no tracing 1 = log cache busts 2 = everything `trace(times(1, 2), { level: 1 })`

At one point we tried adding this, but it broke ie11 #18 We could wrap the assignment in a try / catch... I am not sure what the best path...

Maybe if we wrap it in a try catch? My issue is that people might expect the function to have a length in ie11 - but it wont