Skip to content

Commit

Permalink
Update App.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed Sep 17, 2021
1 parent 31b8ba6 commit ab4db67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/vite-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ export default function App(): JSX.Element {
signal: var count = 0;
memo: var message = `Count: ${count}`;

effect: {
console.log(message);
}

function increment() {
count += 1;
}
Expand Down

0 comments on commit ab4db67

Please sign in to comment.