RSS Feed/News Selective JavaScript Vanilla (HTMX & Alpine or Svelte)

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
32,481
Points
823

Reputation:

jQuery was moved to Vanilla JS back in XenForo 2.3.

I would like to discuss two practical options for the selective migration/conversion of parts of the frontend:

HTMX & Alpine.js instead of writing custom handlers with addEventListener, fetch, manual innerHTML updates, loading states, and event re-attachment, so you would mostly use HTML attributes:

Example (simplified) looks like this:
Vanilla requires a JavaScript to fetch...
Click to expand...

Read more

Continue reading...
 
Status
Not open for further replies.
Top