Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishiv authored Jul 8, 2024
1 parent 4c31823 commit c166064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ import { component, h, render } from "alfama";

// 1) The signal/wire/store functions are passed as a param to
// component definition
const Page = component("HomePage", (props, { signal, wire, store }) => {
const Page = component("HomePage", (props, { signal, wire }) => {

// 2) Name signals for rock solid HMR
// 2) Named signals for stable HMR
const $count = signal("count", 0);

// 3) Most importantly: wire reactivity to signals
Expand Down

0 comments on commit c166064

Please sign in to comment.