File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,7 @@ DCTP extended the denotative approach to handle interactivity, such as mouse and
291
291
### Behaviors
292
292
293
293
![ ] ( https://camo.githubusercontent.com/9b8fca9342d56465fc9536efdf8b26e182958a2f/68747470733a2f2f7261776769742e636f6d2f66756e6b69612f686172656163746976652f6d61737465722f666967757265732f6265686176696f722e737667 )
294
+
294
295
_ Graphic of Behaviors from the [ Hareactive documentation] ( https://github.com/funkia/hareactive ) _
295
296
296
297
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
370
371
* It is modified below in reponse to the ` 'INCREMENT' ` action.
371
372
* It is also modified via the button's onclick event triggering the the ` 'INCREMENT' ` action.
372
373
373
- ``` js
374
+ ``` jsx
374
375
const counterReducer = (state = 0 , action ) => {
375
376
switch (action .type ) {
376
377
case ' INCREMENT' :
@@ -447,7 +448,7 @@ const temp = loop(
447
448
);
448
449
```
449
450
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 )
451
452
452
453
## Visualizing Flows
453
454
You can’t perform that action at this time.
0 commit comments