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

Cannot read property filter of undefined #19

Open
zepod opened this issue Feb 24, 2017 · 3 comments
Open

Cannot read property filter of undefined #19

zepod opened this issue Feb 24, 2017 · 3 comments

Comments

@zepod
Copy link

zepod commented Feb 24, 2017

I encountered following error, using mobx-remotedev.

mobx-err

after removing mobx-remotedev from my module, no error was triggered. Here is my store (module)

// @flow
import remotedev from 'mobx-remotedev'
import {observable} from 'mobx'

class UI {
  @observable preloading :boolean

  constructor() {
    this.preloading = false
  }

  startPreloading() {
    this.preloading = true // <- line 30, thus error comes from here
  }
}

export default remotedev(UI)

I also created StackOverflow question, regarding this topic, so if it isn't mistake on my part, it'd be appreciated, if you'd elaborate on how to resolve this gracefully.

zalmoxisus added a commit to zalmoxisus/redux-devtools-extension that referenced this issue Feb 24, 2017
Address the regression introduced in API in `2.14.0`. Related to
zalmoxisus/mobx-remotedev#19.
@zalmoxisus
Copy link
Owner

zalmoxisus commented Feb 24, 2017

Sorry, I broke it in the yesterday release of Redux DevTools Extension. Forgot that we're using it here (via API) as well. Fixed in 2.14.1, which will be available on Chrome Store in maximum an hour.

Thanks for letting me know!

@ghost
Copy link

ghost commented Feb 24, 2017

I also encountered this problem, and the chrome debugger navigate me to files with name like VM..
It's the problem of the redux extension,window.devToolsOptions not initialized yet?

@zalmoxisus
Copy link
Owner

@whu-iss-jack, yes. Please make sure that you have Redux DevTools Extension 2.14.1 on chrome://extensions page.

HadesHappy added a commit to HadesHappy/redux-devtools-extension that referenced this issue Aug 2, 2022
Address the regression introduced in API in `2.14.0`. Related to
zalmoxisus/mobx-remotedev#19.
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