Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph is missing. No edges #35

Open
msanfilippof opened this issue Dec 9, 2019 · 5 comments
Open

Graph is missing. No edges #35

msanfilippof opened this issue Dec 9, 2019 · 5 comments

Comments

@msanfilippof
Copy link

msanfilippof commented Dec 9, 2019

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

@skortchmark9
Copy link
Owner

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?

@andreadito
Copy link

I have the same issue

@msanfilippof
Copy link
Author

@skortchmark9 I have some selectors that are exported as this

import * as some1 from './some1'

export default {
    ...obj1
}

@OliverJAsh
Copy link

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

image

@OliverJAsh
Copy link

OliverJAsh commented Jul 3, 2020

Upgrading from reselect v3 to v4 fixed it:

image

"Output" is still undefined for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants