Daniel Friesen

Results 336 comments of Daniel Friesen

No, update ou workaround. I just don't use use-dark-mode where this is an issue. It updates when the page is open because it has an event listener that updates the...

I have the same thoughts. And for a user with no default Go install these lines result in the PATH containing two extra `/bin` entries in it. Which ironically may...

The performance of brotli is something that should be kept in mind. Some previous tests: - https://blog.cloudflare.com/results-experimenting-brotli/ - https://www.opencpu.org/posts/brotli-benchmarks/ brotli isn't necessarily always more efficient than gzip. brotli's biggest advantage...

Side topic, if you need a workaround; theoretically you should be able to insert a simple bit of middleware before compression that simply edits the `Accept-Encoding` header and removes the...

`Animated.event` with `useNativeDriver: true` on events like `onScroll` can handle event animations entirely natively. I wonder if it's possible for libraries to define their own events that do the same....

The Snackbar's class on Android doesn't seem to have animation information, so perhaps we'll have to trick CoordinatorLayout to giving us the information we need. Possibly using CoordinatorLayout.Behavior#onApplyWindowInsets if that...

From what I can see the performance difference between fast-memoize and moize should be because they are based on fundamentally different memoization strategies. Which have different pros/cons and behaviours. fast-memoize...

> A WeakMap based approach sounds good (no need to manually remove from cache to clean up references), but LRU handling becomes more costly, and therefore so do explicitly-limited cache...

@planttheidea Ok, interesting use case. I'm mixed about how I feel about the side effects of a recency cache. But in what way is this more costly to do with...