3 ms·
> morphdom-swap this https://github.com/bigskysoftware/htmx-extensions/tree/main/src/morphdom-swap https://github.com/bigskysoftware/htmx-extensions/tree/main/
by swyx 2y ago
> morphdom-swap
this https://github.com/bigskysoftware/htmx-extensions/tree/main/src/morphdom-swap https://github.com/bigskysoftware/htmx-extensions/tree/main/... with 159 stars is a basic tool of htmx? is this the community consensus?
- jdiff 2y agoNo. Morph swaps[0] are the basic tool of htmx. Morphdom-swap is simply the one that works for my usecase. [0] https://htmx.org/docs/#morphing https://htmx.org/docs/#morphing
- jonathrg 2y agoParts of htmx were yoinked out of the core library into an extensions repo relatively recently, as part of htmx 2.0. That might explain the relatively lower number of stars. More important than github stars is that it is indeed part of the htmx project and is documented here https://htmx.org/extensions/ https://htmx.org/extensions/
- throwitaway1123 2y agoThe htmx author maintains his own swapping library which has more stars (although I wouldn't judge a project solely based on Github stars): https://github.com/bigskysoftware/idiomorph?tab=readme-ov-file#htmx https://github.com/bigskysoftware/idiomorph?tab=readme-ov-fi...