


























@phx13ye jsx 和 require(‘xxx’) 的代码必须一起打包成bundle.js吗, 打包以后的bundle.js差不多接近2m了 我想 require('xxx') 和actions store打包成bundle.js jsx的component在页面用script引用
比如<script src="bundle.js" ></script>
<script type='text/jsx' >
...
componentDidMount: function() {
NodeStore.addChangeListener(this.onChange);
},
...
</script>
但是提示 NodeStore 找不到
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。