~/talk

"Migrating from jQuery - Core Journey to Vanilla JS"

Talkat TYPO3 Developer Days 2024 · 2024-08-01..08-03· [javascript]
links:none on file
slides:none on file

TYPO3 core is actively removing jQuery from the backend, cutting explicit imports from 135 → 15 files (about 11% left) with a target of deprecation by v14 and removal by v15. Rewrites replace $ with querySelector/querySelectorAll, classList and dataset, and global jQuery patterns with a custom Event class offering bindTo and delegateTo. Ajax calls move to fetch via an AjaxRequest wrapper that auto-detects JSON/HTML. Complex DOM builders become lit elements plus a top-level module import to fix Firefox frame loading; most replacements already work, remaining pain points are jQuery UI and XForms wizards.

AI-written summary · about

  1. 0:00Introduction to migration
  2. 1:53Understanding jQuery code
  3. 5:48Event handling in vanilla JS
  4. 9:06Replacing jQuery Ajax
  5. 12:17Handling animations
  6. 13:42Building HTML with jQuery
  7. 16:53Using Lit Elements
  8. 19:42Top-level module imports
  9. 21:08Current migration status
  10. 22:55Should you migrate?
  11. 25:24Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.