Subscribe on changes!

effect.options.allowRecurse is invalid in test instance of 'should avoid implicit infinite recursive loops with itself'

avatar
Nov 20th 2020

Version

3.0.2

Reproduction link

https://github.com/HUYIJUNCODING/vue-next-analysis/blob/master/packages/reactivity/tests/effect.spec.ts

Steps to reproduce

step 1: open https://github.com/HUYIJUNCODING/vue-next-analysis/blob/master/packages/reactivity/__tests__/effect.spec.ts. step 2: run test instance name is “could control implicit infinite recursive loops with itself when options.allowRecurse is true”. step3: explect could control but can not.

What is expected?

could control implicit infinite recursive loops with itself when options.allowRecurse is true

What is actually happening?

can not control

avatar
Nov 20th 2020

I tried on a fiddle and it works. Please, do provide real reproductions when opening bug reports: https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro