Most React apps need a backend too.
You can build single-page applications with React, you cannot with HTMX.
In the browser we have no choice, but I prefer to prevent that accident from spreading to my servers.
The picnic example would be more like mixing them up though ;-)