You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That sounds like a good way to do it! This hasn't come up yet tbh, but it's definitely a valid use case.
hyperaxe delegates to hyperscript under the hood unless you substitute your own hyperscript implementation with createFactory, so I'd say do what works! Setting innerHTML directly seems fairly elegant and straightforward to me.
For reference here are a couple of related threads I found in the hyperscript issues:
In lieu of a beer, if you'd like to open a PR documenting how to add trusted / raw HTML content in the README to save the next person some time, that would be great!
I've got some Markdown I'd like to put in a document, but it looks like hyperaxe escapes it. Here's my current workaround:
Is that the recommended way to deal with this use-case, or is there a better way to do it?
Thanks for all the work on this module, I'm really loving it so far. I owe you a beer @ungoldman.
The text was updated successfully, but these errors were encountered: