reselect-tools icon indicating copy to clipboard operation
reselect-tools copied to clipboard

Graph is missing. No edges

Open msanfilippof opened this issue 6 years ago • 5 comments

I am using reselect@4 but there are still not arrows/edges in the graph. Screenshot 2019-12-09 at 14 07 05

I manually checked the lib and works fine, I can output the:

[ { from: 'getEnv', to: 'getApiUrl' }, ... ]

but the window.__RESELECT_TOOLS__.selectorGraph() gives back edges: []

FYI, output and input in devtool are undefined.

My app works fine. I am doing this

    R.registerSelectors(selectors);
    R.selectorGraph();

Please let me know if I'm missing something

msanfilippof avatar Dec 09 '19 14:12 msanfilippof

Hmmm. Well, if edges is empty then there won't be any arrows. But it looks like the from/to you posted is an edge? How did you produce that?

skortchmark9 avatar Jan 02 '20 06:01 skortchmark9

I have the same issue

andreadito avatar Jan 21 '20 22:01 andreadito

@skortchmark9 I have some selectors that are exported as this

import * as some1 from './some1'

export default {
    ...obj1
}

msanfilippof avatar Jan 28 '20 16:01 msanfilippof

I'm running into the same issue. This even happens when I copy/paste the example in the docs:

image

OliverJAsh avatar Jul 03 '20 12:07 OliverJAsh

Upgrading from reselect v3 to v4 fixed it:

image

"Output" is still undefined for some reason.

OliverJAsh avatar Jul 03 '20 12:07 OliverJAsh