Skip to content

@solidjs/babel-plugin@2.0.0-rc.23

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 19:39
· 61 commits to main since this release
8c34a50

Patch Changes

  • ea8e37c: A production <Show> whose callback reads its value ({u => <p>{u()}</p>}) is lowered to a ternary only when when reads signals, memos, stores, names, literals and operators. A when that reads another object's member, such as a prop, keeps the component (#4936): the ternary wrote u() as a second read of when, and a prop's getter runs again on each read, so when={props.children} created the child twice and broke its hydration. JSX children without a callback still lower for any when.