News for hackers. Stuff that matters.
Re:React 19 Breaks Async Composability by mrkeen on Friday June 14, 2024 @03:31AM (#40678469)
Is that a document markup language?

Maybe backend programming will become a lot simpler and easier and once they release XML2.

Re:React 19 Breaks Async Composability by Akronymus on Friday June 14, 2024 @03:42AM (#40678535)
It's essentially a small extension of HTML via JS, that allows all elements to fetch HTML from a server on events, and replace a target elements inner/outer html/append to it. From their page [1]:

motivation

    Why should only <a> & <form> be able to make HTTP requests?
    Why should only click & submit events trigger them?
    Why should only GET & POST methods be available?
    Why should you only be able to replace the entire screen?
By removing these constraints, htmx completes HTML as a hypertext

[1] https://htmx.org/