You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/js/samples/ssr-no-oncreate-etc/expected.js

30 lines
537 B

/* generated by Svelte vX.Y.Z */
import { create_ssr_component } from "svelte/internal";
import { onDestroy, onMount } from "svelte";
function preload(input) {
return output;
}
function foo() {
console.log('foo');
}
function swipe(node, callback) {
// TODO implement
}
const SvelteComponent = create_ssr_component(($$result, $$props, $$bindings, $$slots) => {
onMount(() => {
console.log('onMount');
});
onDestroy(() => {
console.log('onDestroy');
});
return ``;
});
export default SvelteComponent;
export { preload };