This is an excerpt from Manning's book Svelte and Sapper in Action. Login to get full access to this book.
Components accept data passed to them from other components using props. These have a syntax similar to HTML attributes, but their values can be any JavaScript type.