Skip to content

Simple Todos Hyperscript demo is broken #573

@just-boris

Description

@just-boris

Describe the bug

This demo does not work: https://www.solidjs.com/examples/simpletodoshyperscript

After adding the first todo item, all other items do not get added. There is an error in browser console

sdk.js:1 Uncaught Error: DOMNode._children is expected to not be null.
    at Tn.insertChild (sdk.js:1:257639)
    at Pn.childNodeInserted (sdk.js:1:268559)
    at Ln.childNodeInserted (sdk.js:1:273663)
    at g.dispatch (protocol_client.js:1:7253)
    at j.dispatch (protocol_client.js:1:8244)
    at d.onMessage (protocol_client.js:1:4221)
    at sdk.js:1:341593

Your Example Website or App

https://www.solidjs.com/examples/simpletodoshyperscript

Steps to Reproduce the Bug or Issue

  1. Go to https://www.solidjs.com/examples/simpletodoshyperscript
  2. Try adding new todo items
  3. After adding the first one, they stop working

Expected behavior

The demo should work

Screenshots or Videos

See the attached video. The recording uses Chrome v134, but I see the same in Firefox 136 too (both are latest stable versions)

Screen.Recording.2025-03-23.at.21.48.12.mov

Platform

  • OS: n/a
  • Browser: Chrome v134, Firefox 136

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions