ui@0.2.0
📦 remixView on GitHub →
✨ 1 features🐛 4 fixes🔧 6 symbols
Summary
This release introduces a new `signal` option for `renderToStream()` to handle request aborts gracefully and fixes several rendering and JSX typing issues, particularly around booleanish attributes and hydrated components.
✨ New Features
- Added a `signal` option to `renderToStream()` to allow request aborts to cancel pending frame rendering without invoking `onError`.
🐛 Bug Fixes
- Fixed rendering and JSX types for booleanish string attributes so attributes like `contentEditable={false}` produce explicit "false" values instead of being omitted.
- The `translate` JSX type now correctly accepts the HTML attribute values "yes" and "no".
- Fixed hydrated `@remix-run/ui` components so non-rendering children inside fragments maintain the correct DOM anchor when they become renderable later.
- Ignored component updates scheduled after a frame reload has already removed that component, preventing `Node.insertBefore` errors from stale updates.