Thanks to no-reentrancy of CM, we can safely share the runtime state within a component instantiation closure. However, we cannot share the state across different component instances created by different instantiate calls.
This commit fixes the issue by moving all the runtime states under the instantiate scope.
Thanks to no-reentrancy of CM, we can safely share the runtime state within a component instantiation closure. However, we cannot share the state across different component instances created by different
instantiate
calls.This commit fixes the issue by moving all the runtime states under the
instantiate
scope.