Skip to main content
Module

x/fastro/examples/ssr/app.tsx

Fast and simple web application framework for deno
Go to Latest
File
import React from "https://esm.sh/react@17.0.2";
const App = () => { const [count, setCount] = React.useState(0);
return ( <div> <h1>Hello Deno Land!</h1> <button onClick={() => setCount(count + 1)}>Click the 🦕</button> <p>You clicked the 🦕 {count} times</p> </div> );};
export default App;