Skip to content

Commit 5e0c1ac

Browse files
author
Steve Krouse
committed
small dctp typos
1 parent 71f3944 commit 5e0c1ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drafts/dctp.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ DCTP extended the denotative approach to handle interactivity, such as mouse and
291291
### Behaviors
292292

293293
![](https://camo.githubusercontent.com/9b8fca9342d56465fc9536efdf8b26e182958a2f/68747470733a2f2f7261776769742e636f6d2f66756e6b69612f686172656163746976652f6d61737465722f666967757265732f6265686176696f722e737667)
294+
294295
_Graphic of Behaviors from the [Hareactive documentation](https://github.com/funkia/hareactive)_
295296

296297
Behaviors denote continuous functions of time, such as:
@@ -370,7 +371,7 @@ Contrast this approach with a Redux counter. In Turbine, we put everything you n
370371
* It is modified below in reponse to the `'INCREMENT'` action.
371372
* It is also modified via the button's onclick event triggering the the `'INCREMENT'` action.
372373

373-
```js
374+
```jsx
374375
const counterReducer = (state = 0, action) => {
375376
switch (action.type) {
376377
case 'INCREMENT':
@@ -447,7 +448,7 @@ const temp = loop(
447448
);
448449
```
449450

450-
![Edit Turbine Counter](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/m3640l222j?module=%2Fsrc%2Findex.js)
451+
[![Edit Turbine Counter](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/m3640l222j?module=%2Fsrc%2Findex.js)
451452

452453
## Visualizing Flows
453454

0 commit comments

Comments
 (0)