reduxjs / reselect

Selector library for Redux
MIT License
19.04k stars 670 forks source link

Add identifiable information to dev mode check log messages #652

Closed EskiMojo14 closed 9 months ago

EskiMojo14 commented 11 months ago

Currently there's no way to tell where a warning logged to console came from.

React Redux tries to log as much as it knows about a given selector to assist identifying it - we should do the same with Reselect (at the very least a stack would be useful).

aryaemami59 commented 11 months ago

I'll get this out today.

EskiMojo14 commented 11 months ago

i've opened https://github.com/reduxjs/reselect/pull/653 but the tests aren't behaving the way I'd like - if you could spot any mistakes I've made I'd appreciate it

aryaemami59 commented 11 months ago

Sure I'll look at it.