~/talk

React's Odyssey: Harnessing the Titans of Animation and Performance

Talkat React India 2024 · 2024-10-15..10-19· [react, web-animation]
links:none on file
slides:none on file

Shows how to mount Svelte components inside React by wrapping Svelte files with a bridge that passes reactive props (using Svelte 5’s $state reactivity), compiles Svelte via the compiler, and automates everything with a NEOS Vite plugin that rewrites ?react imports into virtual modules (resolveId + load). Demoed a real case where a dock “dog” component drops from 37.9KB → 6.3KB (minified+gzipped), the plugin works live, and remaining gaps are SSR handling and generated type safety.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:08Why combine React and Svelte
  3. 3:09Mounting Svelte in React
  4. 5:16Making props reactive
  5. 6:40Svelte 5 runes and reactivity
  6. 9:27Compiling Svelte for React
  7. 10:51Simplifying component wrappers
  8. 12:36Automating with Vite plugin
  9. 17:39Performance and animation benefits
  10. 20:51Svelte as framework WebAssembly
  11. 21:54Bundle size comparison demo
  12. 24:46Microservices at component level
  13. 26:09When to use this approach
  14. 27:55Limitations and future work
  15. 28:16Q&A and closing
~/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.