←back to thread

193 points yaoke259 | 1 comments | | HN request time: 0.217s | source
Show context
lelanthran ◴[] No.45024882[source]
Maybe I'm not understanding, but why is this "Turn Markdown into React/Svelte/Vue UI" and not "Turn Markdown into HTML"?

I'm not seeing the value of generating React, Vue or Svelte as opposed to generating DOM components.

replies(7): >>45024990 #>>45025096 #>>45025261 #>>45025292 #>>45025332 #>>45029796 #>>45030644 #
jy14898 ◴[] No.45025096[source]
It tickled me seeing the streaming example, thinking about how much better HTML deals with streaming
replies(1): >>45025380 #
yaoke259 ◴[] No.45025380[source]
html does not allow for event handling, this allows for secure listening of the events at runtime, which afaik is not possible with html
replies(2): >>45025425 #>>45027658 #
mpalmer ◴[] No.45025425[source]
Modern frontend frameworks wouldn't exist without JS events, not the other way around. You can absolutely do this with vanilla HTML+JS.

https://developer.mozilla.org/en-US/docs/Web/API/Event

replies(1): >>45025463 #
1. yaoke259 ◴[] No.45025463[source]
I suppose a vanilla js version is possible? I'll need to look into this