refactor(ivy): move bindingIndex
from LView
to LFrame
(#33235)
`bindingIndex` stores the current location of the bindings in the template function. Because it used to be stored in `LView` that `LView` was not reentrant. This could happen if a binding was a getter and had a side-effect of calling `detectChanges()`. By moving the `bindingIndex` to `LFrame` where all of the global state is kept in reentrant way we correct the issue. PR Close #33235
This commit is contained in:

committed by
Andrew Kushnir

parent
c61f413477
commit
e16f75db56
@ -12,7 +12,7 @@
|
||||
"master": {
|
||||
"uncompressed": {
|
||||
"runtime-es2015": 1485,
|
||||
"main-es2015": 14678,
|
||||
"main-es2015": 14861,
|
||||
"polyfills-es2015": 36808
|
||||
}
|
||||
}
|
||||
@ -64,4 +64,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user