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

Rendering does not work when using mobx together #80

Open
ghost opened this issue Dec 10, 2018 · 3 comments
Open

Rendering does not work when using mobx together #80

ghost opened this issue Dec 10, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 10, 2018

If you are using mobx together, if you use @boundClass on the react component, if you move to another page after the page call and go back to that page, you will not render it, even though you change the value of @observable in mobx

@stevemao
Copy link
Collaborator

Can you try #79 and see if it fixes your problem?

@realfresh
Copy link

Same problem for me, nearly blew my brains narrowing it down to autobind decrator. The main gotcha is if you are using HMR with parcel (not sure about webpack), somehow the issue is masked, so it will only show itself in production builds.

@stevemao
Copy link
Collaborator

@realfresh can you try #79?

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