0
この.tsxコードのコンパイル済みバージョンは、StencilJSで何ですか?リアクトでTSX in StencilJS
render() {
return (
<div>
<div>
test
</div>
</div>
);
}
は次のとおりです。
React.createElement(
"div",
null,
React.createElement(
"div",
null,
"test"
)
);
はStencilJSで "React.createElement" の同等はありますか?
で反応である: React.createElement( "DIV"、 ヌル、 React.createElement( "DIV"、 ヌル、 "テスト" ) )。 StencilJSに相当するReactオブジェクトがありますか? – asv
'createElement'に相当するものがないと思っています –
ありがとう、ありがとう、 – asv