We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c46cf9e commit b4f26ecCopy full SHA for b4f26ec
src/idom/core/layout.py
@@ -216,11 +216,6 @@ def _render_component(
216
pass
217
else:
218
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
- )
224
parent.children_by_key[key] = new_state
225
# need to do insertion in case where old_state is None and we're appending
226
parent.model.current["children"][index : index + 1] = [
0 commit comments