Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkolind committed Nov 14, 2023
1 parent 05b066b commit 325d0a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const If = {
count: 0
}
},
onmount () {
console.log('If mounted')
},
view ({ data }) {
return o('div', [
o('h1', 'If'),
Expand Down

0 comments on commit 325d0a0

Please sign in to comment.