Skip to content

Commit f6164b6

Browse files
authored
fix derived signal name in explanation section (solidjs#2229)
it said "the only thing that will rerender is the count() text" but the text node references the `doubleCount()` derived signal not the `count()` signal
1 parent 2ae7d1d commit f6164b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function Counter() {
5757
console.log("The body of the function runs once...");
5858

5959
// JSX allows you to write HTML within your JavaScript function and include dynamic expressions using the { } syntax
60-
// The only part of this that will ever rerender is the count() text.
60+
// The only part of this that will ever rerender is the doubleCount() text.
6161
return (
6262
<>
6363
<button onClick={() => setCount(c => c + 1)}>

0 commit comments

Comments
 (0)