Skip to content
Source
Sign inSign up
TanStack/bling

update `sayHello` to be in global scope #4

MergedKATT(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/4/headmerged by nksaraf(GitHub profile, opens in a new tab)

Showing 1 changed file with 2 additions and 1 deletion.

x
0 of 1 viewed, 1 left
2 additions and 1 deletionexamples/astro-basic/src/app/root.tsxModified
View file
@@ -1,7 +1,8 @@
import { server$ } from "@tanstack/bling";
​
+const sayHello = server$(() => console.log("Hello world"));
+​
export function App() {
- let sayHello = server$(() => console.log("Hello world"));
return (
<html>
<head>