~/talk

Adding Svelte to your legacy projects

slides:none on file

Shows how to add Svelte to a PHP or React site by building a standalone component (a sortable live‑search contacts table) and shipping its UMD bundle and CSS from a local subfolder, passing server JSON as props and instantiating with new ContactTable({ target, props }). Demonstrates installing that bundle as a local npm module into Create‑React‑App and mounting via useRef/useEffect, recommends svelte‑loader or rollup plugin to avoid dual builds, and flips it with svelte‑react to reuse React widgets. All demos work.

AI-written summary · about

  1. 0:00Introduction to Svelte
  2. 2:57Adding Svelte to legacy projects
  3. 5:04Downloading Svelte component
  4. 8:56Configuring Rollup for Svelte
  5. 14:10Integrating Svelte with React
  6. 21:55Managing multiple build processes
  7. 22:36Rewriting with SvelteKit
  8. 24:42Using legacy code in SvelteKit
  9. 25:04Conclusion and resources
~/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.