Skip to content

Commit b4f26ec

Browse files
committed
fix #629
1 parent c46cf9e commit b4f26ec

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/idom/core/layout.py

-5
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,6 @@ def _render_component(
216216
pass
217217
else:
218218
key, index = new_state.key, new_state.index
219-
if old_state is not None:
220-
assert key == old_state.key, (
221-
"state mismatch during component update - "
222-
f"key {key!r}!={old_state.key!r} "
223-
)
224219
parent.children_by_key[key] = new_state
225220
# need to do insertion in case where old_state is None and we're appending
226221
parent.model.current["children"][index : index + 1] = [

0 commit comments

Comments
 (0)