ekwoka / alpine-plugins

Mono repo for various Alpine plugin packages
8 stars 2 forks source link

Ajax children #7

Open josh-tt opened 1 year ago

josh-tt commented 1 year ago

Support for ajaxing children covering a variety of scenarios

ekwoka commented 1 year ago

So, I pushed a rather large set of changes...to update the DX

Would you be able to adapt this to the new code or would you like some help with that?

josh-tt commented 1 year ago

I see, interesting. Let me have a look next week and see if it makes sense and will let you know how I get on.

ekwoka commented 1 year ago

Yeah, it's just a pain to work on some of these older JS things I made where there's no standards for anything 😂

But I am wanting to do more here, so this seemed like the time

josh-tt commented 1 year ago

Cool. Good to tidy up :) Does that mean running Timber instead of alpine to use x-ajax?

ekwoka commented 1 year ago

No, no no lol

This is still all Alpine.

Timber is just like an experimental thing to explore ways to do larger changes to Alpine for performance reasons. To explore other approaches without being as bounded by the existing internal structures. Theoretically, if it's ever "finished", it would have full cross compatibility. :) But the goal would mostly be to bring the discoveries to Alpine, in time.

josh-tt commented 1 year ago

Ah ok, cool. Nothing is ever finished. Go for it. I'm having some arm issues so trying to take a couple days off, but late next week will revisit when I can type with two hands again :)

What kind of performance issues have you run into?