Skip to content

Commit 8b70e78

Browse files
committed
modify some todos
1 parent e731ed2 commit 8b70e78

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docs/src/reference/components.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ Allows you to defer loading a CSS stylesheet until a component begins rendering.
439439
Allows you to defer loading JavaScript until a component begins rendering. This JavaScript must be stored within [Django's static files](https://docs.djangoproject.com/en/stable/howto/static-files/).
440440

441441
<!--
442-
TODO: This is no longer true since we don't insert elements on the page via JSON Patch anymore.
443-
However, we may go back to diffing at some point in the future.
442+
TODO: The following is no longer true since we don't insert elements on the page via JSON Patch anymore.
443+
However, we may go back to diffing at some point in the future so this is kept here for now.
444444
445445
!!! warning "Pitfall"
446446

docs/src/reference/settings.md

-3
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ During pre-rendering, there are some key differences in behavior:
152152
3. The component will be non-interactive until a WebSocket connection is formed.
153153
4. The component is re-rendered once a WebSocket connection is formed.
154154

155-
<!-- TODO: The comment below will become true when ReactPy no longer strips scripts from the DOM -->
156-
<!-- 4. `#!python html.script` elements are executed twice (pre-render and post-render). -->
157-
158155
You can use the `#!python prerender` argument in your [template tag](../reference/template-tag.md#component) to manually override this default.
159156

160157
---

0 commit comments

Comments
 (0)