@tsrx/preact@0.0.9

Ripple-TS/ripple@tsrx/preact@0.0.9Apr 27, 2026by github-actions[bot]

AI Summary

A patch release introducing strict validation for return statements in component bodies, improved editor support for lazy destructuring and object parameters, and better handling of generic component type parameters.

Key Highlights

  • Reject return statements with values in component bodies
  • Improve lazy object parameter editor support
  • Preserve component type parameters during lowering
  • Extract early-return continuations into typed helpers

New Features

  • Strict return statement validation
  • Improved lazy object parameter support
  • Improved lazy destructuring editor support
  • Generic component type preservation

Full Release Notes

### Patch Changes

-   [#982](https://github.com/Ripple-TS/ripple/pull/982)
    [`fcd25aa`](https://github.com/Ripple-TS/ripple/commit/fcd25aa549db0d56ccbd596b657b856a5061e20f)
    Thanks [@leonidaz](https://github.com/leonidaz)! - Reject return statements with
    values in component bodies for React, Preact, and Solid TSRX targets.

-   [#971](https://github.com/Ripple-TS/ripple/pull/971)
    [`30126c7`](https://github.com/Ripple-TS/ripple/commit/30126c753c3a08809bacd07c8cf2eca84e8f8cbb)
    Thanks [@leonidaz](https://github.com/leonidaz)! - Extract early-return
    continuations into typed cached helpers and type generated hook-helper props
    from branch-local aliases.

-   [#986](https://github.com/Ripple-TS/ripple/pull/986)
    [`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad)
    Thanks [@leonidaz](https://github.com/leonidaz)! - Improve lazy destructuring
    editor support for TSX targets, including typed virtual params, hover display
    rewrites, and loose-mode diagnostics for duplicate lazy parameter names.

-   [#986](https://github.com/Ripple-TS/ripple/pull/986)
    [`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad)
    Thanks [@leonidaz](https://github.com/leonidaz)! - Improve editor support for
    lazy object params by emitting object-shaped virtual TSX annotations for untyped
    params and preserving source mappings for lazy property reads.

-   [#984](https://github.com/Ripple-TS/ripple/pull/984)
    [`fee8620`](https://github.com/Ripple-TS/ripple/commit/fee8620fa4e82a7c7e4adb3e434e9db552a3e157)
    Thanks [@leonidaz](https://github.com/leonidaz)! - Preserve component type
    parameters when lowering generic TSRX components to generated functions.

-   Updated dependencies
    \[[`cf4f06e`](https://github.com/Ripple-TS/ripple/commit/cf4f06e8bcbb41f863d047dfaa6d9d17ed212163),
    [`fcd25aa`](https://github.com/Ripple-TS/ripple/commit/fcd25aa549db0d56ccbd596b657b856a5061e20f),
    [`30126c7`](https://github.com/Ripple-TS/ripple/commit/30126c753c3a08809bacd07c8cf2eca84e8f8cbb),
    [`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad),
    [`b8cd7c4`](https://github.com/Ripple-TS/ripple/commit/b8cd7c4195505976995033a8e369502996f345ad),
    [`3ddb1a9`](https://github.com/Ripple-TS/ripple/commit/3ddb1a92ffeb48a7d47c445b929b982a2b96e123),
    [`fee8620`](https://github.com/Ripple-TS/ripple/commit/fee8620fa4e82a7c7e4adb3e434e9db552a3e157),
    [`2fcacb4`](https://github.com/Ripple-TS/ripple/commit/2fcacb471d7780074f92b20c9b394f7650a941bb)]:
    -   @tsrx/core@0.0.14