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

this._stop is not a function #165

Open
bhavishhak opened this issue Jun 21, 2017 · 1 comment
Open

this._stop is not a function #165

bhavishhak opened this issue Jun 21, 2017 · 1 comment

Comments

@bhavishhak
Copy link

Using compose function with custom dataloader function.
Everythime i start the app this error shows up
screen shot 2017-06-21 at 12 34 14 pm

@trmjoa
Copy link

trmjoa commented Jul 4, 2017

Hi,

I just had the same error. Since other might have similar issues I'm posting my solution here:

Make sure your dataloader(s) is not returning anything. The only valid return value is a function that when called (on unmount for instance) will stop the current loading logic. A common error is to return a promise or a object from the dataloader. If you do that, then you will have this error.

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

2 participants