Video details

Svelte Question - How to use Svelte component inside a React app?

Svelte
05.31.2021
English

✨❓ Svelte Question Time ❓✨
"You have a Svelte question, I have an answer" 😱😍
How to use a Svelte component inside a React app? 00:00
We are going write a wrapper component in React, that wraps around our Svelte component.
Setting up 01:09 The React app was created using create-react-app, which ejected to support custom webpack configuration to import .svelte module.
Instantiating Svelte component 05:01 Passing props from React to Svelte 08:06 Two-way data binding 09:20 Listen to events 15:36 Svelte internal API for binding 18:52 Passing context from React to Svelte 30:34 Calling Svelte component methods from React 37:20 Updating props from React 46:25
---
📝 Source Code https://github.com/tanhauhau/svelte-component-in-react-app
🎧 Svelte Tutorial for Beginners https://www.youtube.com/playlist?list=PLoKaNN3BjQX3mxDEVG3oGJx2ByXnue_gR 🎧 Svelte Question Time https://www.youtube.com/playlist?list=PLoKaNN3BjQX1I9FmIoCaws4vUaoqezpc1
📚
Related Resources Svelte https://svelte.dev Svelte REPL https://svelte.dev/repl
🥰 Support me https://www.buymeacoffee.com/lihautan
🔗
Want to learn more from me? Check out these links:
Twitter: https://twitter.com/lihautan Blog: https://lihautan.com/ Newsletter: https://lihautan.com/newsletter
#svelte #sveltequestiontime
Thanks for watching 🥰 -- with love, Li Hau