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,478
- 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:
Read more
Continue reading...
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...