PhoenixKit 2.22.9: Load more buttons accept extra attributes
PhoenixKit 2.22.9 is a small change for developers. No change for a running site.
The <.load_more> component now passes extra HTML and phx-* attributes on to its button. A page with several load more lists can give each button a phx-value-* and handle all of them in one event handler, instead of a separate event name per list. Pages that use the component as before see no difference.
Full release notes: PhoenixKit 2.22.9
2.22.9 · 9 September 2026
Added
<.load_more>forwards extra HTML/phx-*attributes to its button. A page rendering more than one<.load_more>list can now attachphx-value-*so a single sharedhandle_eventclause can tell which list’s button was clicked, instead of minting a distincton_load_moreevent name per list.
PhoenixKit 2.22.9. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.