Closed SoloJiang closed 2 years ago
inject
injectRenderOptions
rax/lib/testing
Class
Function
inject 相关的方法说明一下(注释加上了),这个方法存在的原因是避免循环引用,如果是在 vdom/host 直接赋值,会导致 vdom/Empty 等文件循环依赖 vdom/host 文件
vdom/host
vdom/Empty
Rax Core
inject
method, others move toinjectRenderOptions
methodrax-test-renderer
rax/lib/testing
which useClass
orFunction
in rax inside