Skip to content

Commit 656623a

Browse files
committed
remove start from the runnable examples
1 parent ce60b29 commit 656623a

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

docs/examples/python/thinking_in_react/add_inverse_data_flow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from reactpy import component, html, use_state
22

33

4-
# start
54
@component
65
def filterable_product_table(products):
76
filter_text, set_filter_text = use_state("")

docs/examples/python/thinking_in_react/build_a_static_version_in_react.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from reactpy import component, html
22

33

4-
# start
54
@component
65
def product_category_row(category):
76
return html.tr(html.th({"colSpan": "2"}, category))

docs/examples/python/thinking_in_react/identify_where_your_state_should_live.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from reactpy import component, html, use_state
22

33

4-
# start
54
@component
65
def filterable_product_table(products):
76
filter_text, set_filter_text = use_state("")

docs/src/learn/thinking-in-react.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ You can either build "top down" by starting with building the components higher
7171
=== "app.py"
7272

7373
```python
74-
{% include "../../examples/python/thinking_in_react/build_a_static_version_in_react.py" start="# start" end="# end" %}
74+
{% include "../../examples/python/thinking_in_react/build_a_static_version_in_react.py" end="# end" %}
7575
```
7676

7777
=== "styles.css"
@@ -177,7 +177,7 @@ You can start seeing how your application will behave. Edit the `filter_text` in
177177
=== "app.py"
178178

179179
```python
180-
{% include "../../examples/python/thinking_in_react/identify_where_your_state_should_live.py" start="# start" end="# end" %}
180+
{% include "../../examples/python/thinking_in_react/identify_where_your_state_should_live.py" end="# end" %}
181181
```
182182

183183
=== "styles.css"
@@ -227,7 +227,7 @@ Now the application fully works!
227227
<!-- FIXME: Click event on the checkbox is broken. `event["target"]["checked"]` doesn't exist -->
228228

229229
```python
230-
{% include "../../examples/python/thinking_in_react/add_inverse_data_flow.py" start="# start" end="# end" %}
230+
{% include "../../examples/python/thinking_in_react/add_inverse_data_flow.py" end="# end" %}
231231
```
232232

233233
=== "styles.css"

0 commit comments

Comments
 (0)