Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

24 lines (20 sloc) 423 Bytes
import Fetch from "./Fetch.svelte";
import Form from "./Form.svelte";
let searchTerm;
function handleSubmit() {
const { value } =;
searchTerm = value;
<Form {handleSubmit} />
<Fetch {searchTerm} let:data>
<h1>A list of links</h1>
{#each data as link}
<a href={link.url}>{link.title}</a>
You can’t perform that action at this time.