skortchmark9 / reselect-tools

Debugging Tools for Reselect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graph is missing. No edges

msanfilippof opened this issue · 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

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?

I have the same issue

@skortchmark9 I have some selectors that are exported as this

import * as some1 from './some1'

export default {
    ...obj1
}

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

image

Upgrading from reselect v3 to v4 fixed it:

image

"Output" is still undefined for some reason.