I'm a newbie in ReactJs and Zk Java framework. I have followed this instruction here (https://reactjs.org/docs/add-react-to-a-website.html) When I do it with html file, It seems nice, but It did not work with zul page in zk framework. My code is:
<zk>
...
<script type="text/javascript" src="/js/reactjs/react.development.js"></script>
<script type="text/javascript" src="/js/reactjs/react-dom.development.js"></script>
<script type="text/javascript">
console.log(React.createElement);
</script>
</zk>
Errors: React is not defined Please help me ...
Add this in zk tag
And use
<n:script></n:script>