|
|
|
|
|
by KrishnaShripad
1657 days ago
|
|
Nope. Have you actually looked at Xena's source code? She actually imports her own library: `import { g, h, x } from "/static/js/xeact.min.js";` Please see her source as I have used the same source, sans her library, to replicate it with React. Instead of importing from "/static/js/xeact.min.js", I am importing React. There is literally no other difference. > can be directly copy-pasted in your business javascript code Why can't you do the same with React? You literally can copy-paste entire React code in your HTML. Nothing stops you from doing that. Doesn't matter if you import it as a file or inline it in your HTML. It is plain old Javascript at the end of the day. |
|