Repository navigation
@solidjs/babel-plugin@2.0.0-rc.23
Pre-release
Pre-release
·
61 commits
to main
since this release
Patch Changes
- ea8e37c: A production
<Show>whose callback reads its value ({u => <p>{u()}</p>}) is lowered to a ternary only whenwhenreads signals, memos, stores, names, literals and operators. Awhenthat reads another object's member, such as a prop, keeps the component (#4936): the ternary wroteu()as a second read ofwhen, and a prop's getter runs again on each read, sowhen={props.children}created the child twice and broke its hydration. JSX children without a callback still lower for anywhen.