Michael Peyper

Results 104 comments of Michael Peyper

Lerna monorepos suffer from this as well when a custom hook is defined in one package and used by another as the symlinked dependencies use their own copy of react....

**Shameless plug** @abhishekguru if you have a generic hook used between multiple components and you want to test it independently of any particular component, you might consider using [`react-hooks-testing-library`](https://github.com/mpeyper/react-hooks-testing-library). ```js...

Is there some way to get some eyes on this? I don't want to be that Dev that tags a bunch of people, but this is the second issue I've...

@davidcheal ~yep, same issue~ Edit: sorry, I got confused about which repo/issue I was looking at. It might be the same issue, but I'm not any kind of authority to...

Same issue for me when upgrading react from `16.13.1` to [`16.14.0`](https://github.com/testing-library/react-hooks-testing-library/pull/470) or [`17.0.0`](https://github.com/testing-library/react-hooks-testing-library/pull/477).

I just reran my netlify deploy with a cleared cache today (without any changes being made) and it's passing now. Not sure if anything downstream has changed or if anyone...

I have also just run into this when reselect was updated from `4.0.0` to `4.1.5`. All selectors created with `createSelector` from `@reduxjs/toolkit` that are exported from a library are failing...

[Here you go](https://github.com/mpeyper/selector-ts-error). Just run: ```sh npm i npm run build ``` While setting this up, I'm 99% sure it's the use of `ReturnType` when overriding `DefaultRootState` ([here](https://github.com/mpeyper/selector-ts-error/blob/main/src/store.ts#L4-L6)) that is...