Patch Changes
- f5252dd: A custom renderer's single-child hole now mounts content that arrives during a held action at the commit, like
@solidjs/webdoes, instead of showing a bare element before it. - b7d939f: Ship the MIT
LICENSEfile in every published package (#5106). - ef08c1e: A prop whose expression is a ternary over an async source (
n={ans() == null ? -1 : ans().length}) now reads the value on screen from an event handler while the source re-asks, instead of throwingNotReadyError. Called with no owner (an event handler, an effect callback), the compiledmemohelper returns its function instead of creating a memo, so an effect callback that reads such a prop no longer reportsPRIMITIVE_IN_EFFECT_CALLBACKin dev. A template created with no owner therefore has no condition memo: its conditional rebuilds the branch each time the condition's sources change, not only when the condition flips. - 842144c: Pass numeric text children to the renderer's
createTextNodeandreplaceTextas strings. - Updated dependencies [fcaa051]
- Updated dependencies [a406a5d]
- Updated dependencies [8bfca0d]
- Updated dependencies [f353760]
- Updated dependencies [b7d939f]
- Updated dependencies [430314c]
- Updated dependencies [fc0dac0]
- solid-js@2.0.4