Closed
Description
Version
2.5.0
Reproduction link
https://codesandbox.io/s/z6ww1zp2q4
Steps to reproduce
- open browser console
What is expected?
Not getting an infinite render loop:
[Vue warn]: You may have an infinite update loop in a component render function.
What is actually happening?
Getting an infinite render loop
This happens when you handle an error that was caused during rendering and try to commit it to the store.
It looks like a component that throws an error tries to rerender after the store is updated, even so it doesn't use the store's state.