3 ms·
The data was on the server at some point to begin with. How could it be tricky to put it somewhere just because $component is a modal?
by a_subsystem 3y ago
The data was on the server at some point to begin with. How could it be tricky to put it somewhere just because $component is a modal?
- DoesntMatter22 3y agoHow could it be tricky to have html loaded on multiple different parts of the page? Do you think it happens automatically? You have to track all of it. It's a pain. You need to embed hidden inputs then need to capture them, send them off, The modal stays on the screen but the underlying page needs to change behind it. If you think that's easy then you'll love HTMX
- a_subsystem 3y agoYou mean something like this? This does get a bit messier... https://htmx.org/docs/#oob_swaps https://htmx.org/docs/#oob_swaps