On most puzzles, they are solved so quickly it doesn't matter. But the operations here do lock the browser. So when you choose an Evil level puzzle, it hangs for a couple seconds. What should happen is that we should see the numbers updating as the calculations are being performed. I'm thinking we probably need to move away from Vuex for everything and only use it to store some basic stuff.
On most puzzles, they are solved so quickly it doesn't matter. But the operations here do lock the browser. So when you choose an Evil level puzzle, it hangs for a couple seconds. What should happen is that we should see the numbers updating as the calculations are being performed. I'm thinking we probably need to move away from Vuex for everything and only use it to store some basic stuff.
Inspirations: https://github.com/Akryum/vue-9-perf-secrets https://twitter.com/0xca0a/status/1133329007800397824