Skip to content

Latest commit

 

History

History
 
 

svelte

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

TalkJS Svelte Examples

There are 3 examples available:

  • /svelte is a basic hello-world-style example using Svelte
  • /sveltekit is the same as svelte, but uses SvelteKit instead
  • /sveltekit-typescript-wrapper is a more advanced example, showing how you can use TalkJS in an idiomatically-svelte way. Other than using TypeScript, the main difference is that it adds a TalkJs.svelte wrapper component. This component waits for TalkJS to load before rendering its child components, so you don't have to use await Talk.ready and onMount everywhere. Instead, you can just write normal Svelte code, including reactive statements.