Skip to content

Version 0.2.2

Choose a tag to compare

@thednp thednp released this 16 Sep 15:43
· 2 commits to master since this release

What changed

Router

  • JSX Fragment layout fix — buildChain(), navigateToModule() leaf swap, and resolveChildren() now flatten nested arrays. JSX Fragments (<>...</>) return their children array directly, so a layout returning [<>...</>] produced [[div1, div2]] (nested). replaceChildren stringified this to [object HTMLDivElement],[object HTMLDivElement] on client-side navigation. Non-JSX templates returned flat arrays and were unaffected.

Full Changelog: 0.2.1...0.2.2