reselect icon indicating copy to clipboard operation
reselect copied to clipboard

unstable_autotrackMemoize Errors

Open ChrisMart21 opened this issue 2 years ago • 1 comments

Testing out the unstable export unstable_autotrackMemoize and keep encountering this error message

proxy can't report existing configurable property '0' as non-configurable

Using an imported createSelectorCreator() Instance export const createAutoTrackSelector = createSelectorCreator(autoTrackMemoize);

It seems to be working fine until it hits the last section of checks in the selector

Replay of the error. https://app.replay.io/recording/open-energy-dashboard--6f007eb1-1ca2-48da-8dd9-fe05630fc0e7

ChrisMart21 avatar Nov 13 '23 16:11 ChrisMart21

First, thank you for taking the time to make a Replay!

...... unfortunately it seems like the recording is broken enough that I can't actually pause anywhere and fully inspect what's happening :( Sadly, our Windows + Firefox version of the Replay recording browser has been pretty flaky for a while, and a lot more unstable than the Mac or Linux versions. And I say that as the lone Windows user at Replay.

The best workaround I've got atm to make a useful recording is to actually manually download our Chromium + Linux build around WSL, make the recording with that, and manually upload it with our CLI. But that's also annoyingly painful right now - we don't yet have the "Record" button in Chrome's UI, so there's several extra steps needed. (We're actually adding that "Record" button right now and hope to have it ready in a few weeks.)

Back to the Reselect side: we're going to end up deferring any further work on unstable_autotrackMemoize past the upcoming Reselect 5.0 major release (which we're targeting for the start of December, along with all the other RTK 2.0-related packages). So, I definitely want to investigate this further, but it'll have to wait until after RTK 2.0 is done.

markerikson avatar Nov 14 '23 21:11 markerikson