Closed renhiyama closed 2 years ago
Shouldn't you call it like a function such as htm("<p>hello</p>")
?
@GjeloshajAntoine that's not possible, htm uses template string functions so you can't use ()
but you need to use ` `.
Anyways I would like to close this issue since I've made dynamic loading, and it will be available as a framework soon at https://github.com/rovelstars/reejs
(Currently it doesn't supports other sites, but I will rewrite it soon to make that happen 😄)
Currently its not possible to run htm like this:
making it hard for me to dynamically load jsx over the internet.