Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kenberkeley/react-demo
/ render
Method
render
src/components/Msg/MsgForm/index.js:96–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
}
95
96
render () {
97
// 使用 call/apply,让 tpl 中的上下文与当前一致
98
// (最佳实践应该跟 mixin 一样,在构造函数中使用 bind 绑定)
99
return
tpl.call(this)
100
}
101
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected