Tim Dorr

Results 176 comments of Tim Dorr

> In practice they're always strings. I can't see a good reason for them to not be strings. That is true. Hmmm... 🤔 I guess it's a thematic thing for...

Yes, [make a PR](https://github.com/reduxjs/react-redux/blob/master/docs/api/hooks.md) :)

Easiest thing to do would be to replace the args on `useSelector(selector: Function, equalityFn?: Function)` with more specific types than just `Function`. Maybe just `(a: any, b: any) => Boolean`?...

I just merged in the TL/R update, so maybe that will fix the issue here? I'm not seeing where it's coming from, because I only have the line of the...

Also, the toggle does cause the page layout to change and the scroll position to move. Any way to avoid that? Not a dealbreaker, just an annoyance.

Yeah, it's just that. If it's avoidable, that would be cool, but I know it's difficult.

We can likely add a second, defaulted type argument to define what the input should be.