fix: runtime compilation marker should be applied in exposed compile function
This commit is contained in:
@@ -601,8 +601,6 @@ function finishComponentSetup(
|
||||
if (__DEV__) {
|
||||
endMeasure(instance, `compile`)
|
||||
}
|
||||
// mark the function as runtime compiled
|
||||
;(Component.render as InternalRenderFunction)._rc = true
|
||||
}
|
||||
|
||||
instance.render = (Component.render || NOOP) as InternalRenderFunction
|
||||
|
||||
Reference in New Issue
Block a user