Skip to content

[pull] main from honojs:main#148

Merged
pull[bot] merged 2 commits intocode:mainfrom
honojs:main
Feb 19, 2026
Merged

[pull] main from honojs:main#148
pull[bot] merged 2 commits intocode:mainfrom
honojs:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 19, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mixelburg and others added 2 commits February 19, 2026 08:06
* fix(jsx/dom): handle empty arrays in render children loop

When an empty array is spliced into the children list, the loop index
still increments, causing the next child to be skipped. This leads to
a TypeError when accessing properties of undefined nodes.

Add i-- and continue after splice so the loop re-examines the same
index after flattening, correctly handling empty arrays.

* ci: apply automated fixes

---------

Co-authored-by: Maks Pikov <mixelburg@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…lattening (#4730)

* perf(jsx/dom): flatten children once at the start to avoid repeated flattening

* test(jsx/dom): Move the test to the correct position location and add a regression test
@pull pull bot locked and limited conversation to collaborators Feb 19, 2026
@pull pull bot added the ⤵️ pull label Feb 19, 2026
@pull pull bot merged commit 11a1942 into code:main Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments