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

React Invariant Violation after a battle #2

Closed
hanzhao opened this issue May 17, 2015 · 0 comments · Fixed by #3
Closed

React Invariant Violation after a battle #2

hanzhao opened this issue May 17, 2015 · 0 comments · Fixed by #3

Comments

@hanzhao
Copy link
Contributor

hanzhao commented May 17, 2015

Uncaught Error: Invariant Violation: setState(...): Cannot update during an existing state transition (such as within 'render'). Render methods should be a pure function of props and state.

It seems that is in /views/components/main/parts/teitoku-panel.cjsx

when '/kcsapi/api_get_member/slot_item'
  @setState
    slotitemCount: window._slotitems.length

produces this error. But in fact all things updated successfully.

hanzhao pushed a commit that referenced this issue Aug 30, 2015
KochiyaOcean pushed a commit that referenced this issue Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant