You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Signal Polyfill
2
2
3
-
## ⚠️ This polyfill is a preview of an in-progress proposal and could change at any time. Do not use this in production. ⚠️
3
+
## ⚠️ This polyfill is a preview of an in-progress proposal and could change at any time. Do not use this in production. ⚠️
4
4
5
5
A "signal" is [a proposed first-class JavaScript data type](https://github.com/tc39/proposal-signals) that enables one-way data flow through cells of state or computations derived from other state/computations.
6
6
@@ -10,16 +10,16 @@ This is a polyfill for the `Signal` API.
10
10
11
11
### Using signals
12
12
13
-
* Use `Signal.State(value)` to create a single "cell" of data that can flow through the unidirectional state graph.
14
-
* Use `Signal.Computed(callback)` to define a computation based on state or other computations flowing through the graph.
13
+
- Use `Signal.State(value)` to create a single "cell" of data that can flow through the unidirectional state graph.
14
+
- Use `Signal.Computed(callback)` to define a computation based on state or other computations flowing through the graph.
0 commit comments