@remix-run/ui
0.13.0 · 23 Oct 2026MIT19.4k / weekRepositoryHomepagenpmAtom feed
Upgrading @remix-run/ui from 0.8.0 to 0.9.0
1 release in betweenevery note read
Release by release
- new
Client entries can now provide import maps through
resolveClientEntry(). The<ImportMap>component fromremix/ui/servercombines your mappings with those from blocking client entries so the initial document contains one complete import map. New mappings from later frame responses are installed before their client entries load. Plain<script type="importmap">elements remain supported when you do not need to combine mappings (see #11706). - new
run()now accepts aprocessClientEntryPreloadscallback to handle preloads for client entries discovered after the initial page load. Use it withremix/multiple-import-maps-polyfillto preload modules in browsers that need the polyfill, returning an empty array to skip native modulepreload links. See the client entry setup example (see #11706). - fixed
handle.update()now warns and skips the extra render when called during component setup. Calls during rendering, or before the initial commit from outside setup, report a clear component error. Move these updates into an event handler or ahandle.queueTask()callback (see #11795). - fixed
Fixed delayed scroll resets and history scroll restoration during frame navigation. Scroll now updates once the destination and its blocking frames first render, without waiting for the rest of the streamed content or client entry hydration. Also fixed scroll jumps in Chromium and stale or repeated scroll changes during redirects and overlapping reloads (see #11755).
- fixed
Browsers without
NavigateEvent.sourceElementsupport now use full document navigation, so links and forms keep working when frame navigation is unavailable (see #11820). - fixed
Frames now render HTML responses with
3xxand4xxstatus codes, so form validation messages and error pages appear in the frame when using the default resolver. HTML content types are now recognized regardless of case (see #11823).
- new