Skip to content

qnipp/meteor-svelte-tracker-ssr-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tracker-ssr-example

Tracker integration example with server-side rendering

About

This example demonstrates how to use reactive data sources in Svelte components. The Svelte component /components/Person.svelte displays a name fetched from MongoDB and a state variable.

The computation using Tracker.autorun() cannot be performed on the server, therefore the code to use the data source has to be put into onMount() of the component.

About

Tracker integration example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 52.2%
  • JavaScript 47.8%