Skip to content

Commit

Permalink
Update README.md again
Browse files Browse the repository at this point in the history
  • Loading branch information
RanolP committed Feb 21, 2020
1 parent e30e272 commit c129ce2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ Read like *spike*.
ShouldRender update(Msg&& msg) {
if (increment == msg) {
set_count([](previous) {
previous + increment[0],
return previous + increment[0];
})
return true;
}
if (decrement == msg) {
set_count([](previous) {
previous - decrement[0],
return previous - decrement[0];
})
return true;
}
return false;
}
Node render() {
return (
Expand Down Expand Up @@ -74,7 +77,7 @@ Read like *spike*.
);
```

2. :tada: We can implement React-like API on C++
1. :tada: We can implement React-like API on C++

## Modules

Expand Down

0 comments on commit c129ce2

Please sign in to comment.