Optimize the Ref
class in src/core/primitives.js
#10394
Merged
Ref
class in src/core/primitives.js
#10394