@tanstack/react-router#
1.170.41#
Patch Changes#
#8529
60b8ad1- Compose only enabled route boundaries instead of rendering inactive wrapper components.#8568
614bc27- Update TanStack Store to 0.11.2 to prevent unrelated atom reads inside subscription observers from triggering extra notifications.#8530
ff66a03- Consolidate the root match context provider while preserving match context in the root shell.#8522
863c8a7- Reuse Link href classification and active/inactive results across location updates while preserving live history href formatting.Updated dependencies [
d521abd]:- @tanstack/router-core@1.171.34
1.170.40#
Patch Changes#
#8436
f5ffd38- Skip unused Link preload cleanup when preloading is disabled and ignore queued viewport notifications after their effect has been cleaned up.Updated dependencies [
488d046,0c1b5e3,3cdd1af]:- @tanstack/router-core@1.171.33
1.170.39#
Patch Changes#
- #8435
73bfc15- Avoid hydration-triggered rerenders for links that do not compare URL hashes while preserving hash-sensitive active state and ClientOnly behavior.
1.170.38#
Patch Changes#
1.170.37#
Patch Changes#
#8418
e561fa1-deepEqualnow takes its flags as positional arguments βdeepEqual(a, b, partial?, explicitUndefined?)β instead of an options object. The router's hot callers (Link option stabilization and active-state checks,matchRoute) no longer allocate an options object per comparison, and the comparator reads two booleans instead of a polymorphic object.explicitUndefinedreplacesignoreUndefined: false.deepEqualis an internal helper; it stays exported for compatibility of two-argument calls.#8419
a1c8d1a-resolvePath(internal helper) now takes positional arguments βresolvePath(base, to, trailingSlash?, cache?)β sobuildLocationandmatchRouteno longer allocate an options object per path resolution.#8204
cbbfbe3- Stream large deferred SSR hydration payloads through a backpressure-aware router transport, fail known setup errors before response creation, and close cancelled or expired transforms safely.Start now cancels discarded middleware and HEAD response bodies, including plain streams and derived branches.
Server-function raw streams share one ordered response. Arbitrary or sequential consumption can require potentially unbounded buffering of unread data on the client. Cancelling one raw stream discards it locally, while aborting the whole call cancels the response and server work. Consume streams concurrently, cancel unused streams promptly, or use separate calls when independent backpressure is required. A raw stream that exceeds its unread-byte limit now fails alone; sibling streams and the JSON result keep flowing.
The JSON wire shape of a
RawStreamserver-function argument changed. Clients and servers must run matching versions for requests that pass aRawStream.The frame-protocol constants (
FRAME_TYPE_*,MAX_FRAME_PAYLOAD_SIZE,MAX_FRAMED_STREAMS) moved from the@tanstack/start-client-coreroot to the@tanstack/start-client-core/client-rpcsubpath.Router requests whose
Acceptheader allows neithertext/htmlnor*/*now receive406 Not Acceptableinstead of500.Framework adapters share the body
<Scripts>composition (getSsrBodyScriptParts,composeSsrBodyScripts) and the eager HTML response wrapper (renderSsrHtmlResponse) from@tanstack/router-core.Solid SSR now emits one document type and renders late lazy errors through route boundaries. A Solid
<Await>without afallbackno longer holds the streamed shell; it renders inside the nearest<Suspense>boundary like React and Vue, and now renders falsy resolved values.Static server functions decode cached
RawStreamvalues with the client deserializer plugins.SSR Query integrations now keep request cleanup and stream ownership aligned with the router lifecycle.
#8420
8e164d2-useLinkPropsno longer calls through an internal wrapper. The host elementLinkrenders on is an@internaloverload parameter that is stripped from the published declarations, so the publicuseLinkProps(options, forwardedRef?)signature is unchanged.Updated dependencies [
bc80866,e561fa1,cbbfbe3,a1c8d1a,cbbfbe3,a0b2ad9,1ca361b]:- @tanstack/router-core@1.171.31
1.170.36#
Patch Changes#
#8390
b747fb8- Keep the Link location cache out of server bundles:buildLocationonly creates, reads and writes it whenisServeris false. Render React Links on the server without the extra prop copies and the forwarded-ref hook. Link SSR rendering is 20-40% faster in the Link benchmarks and the React Start SSR request loop about 7% faster.React
activePropsandinactivePropsnow follow one precedence rule on every link, including links whose destination is blocked for using a disallowed scheme: state props override element props,refand event handlers, whilehref,disabledandtargetstay controlled by the router. Previously a blocked link ignored arefor handler from its inactive props.React
LinkanduseLinkPropssplit router options from element props with one key set on the client and the server. Element props pass through as given: external links forward them verbatim, falsy values included, anduseLinkPropsnow returnschildrenfor router-controlled links as it already did for external ones.#8324
6387d58- Reuse hydration snapshot getters to avoid unnecessary store-instance effect updates when Links and other hydration-aware components rerender.#8318
9b2adaf- Allow active and inactive Link props to override base element props in React and Solid while preserving class/style merging. Keep React'shref,target, anddisabledvalues controlled by routing options. Preserve Vue object and nested-array class bindings, including reactive updates and server rendering, without mutating cached bindings during VNode normalization.#8327
634da91- MakepathParamsAllowedCharactersinitialization-only. Configure it when creating the router; changing allowed characters requires a new router instance. Remove decoder-update bookkeeping and decoder-change checks from route-owned path caches.#8370
e9396c9- Stop exporting the internalisPlainObjectandisPlainArrayhelpers.#8324
6387d58- Avoid a redundant prop copy when rendering native Links while preserving custom-component props and the public hook result.#8252
7e349c3- Reduce the bundle cost of shared Link pathname interpolation while preserving its rendering performance. Reuse one interpolation pass for pathname and optional metadata, keep the bounded cache on the router, and simplify React Link active-state and prop merging.#8370
e9396c9- Reuse built locations for Links whose destination does not depend on the current location.buildLocationkeeps the result per options object when the build never read the current location, and the ReactLinkpasses one stable options object per instance, so navigations resolve unchanged Links with a lookup instead of a full build. The per-route pathname interpolation cache this replaces is removed. Linkparams,searchandactiveOptionsare compared by value on render, so inline object literals with unchanged contents keep reusing the Link's location. Pass a new object to change a destination; like any other React prop, an object mutated in place is not re-read.Updated dependencies [
d76a332,b747fb8,6cfb1e8,700a714,700a714,8fff7fa,f021f6d,ae68535,7e349c3,873c830,7e349c3,634da91,e9396c9,634da91,f151ab0,bc57fa3,9872d2a,d76a332,634da91,634da91,7e349c3,9448caa,e9396c9,700a714,634da91,634da91]:- @tanstack/router-core@1.171.30
- @tanstack/history@1.162.4
1.170.35#
Patch Changes#
- #7824
8c43c71- Upgrade TanStack Store to 0.11 and migrate router subscriptions to useSelector, preserving selector comparisons and Vue subscription cleanup.
1.170.34#
Patch Changes#
#8279
aee42c6- Avoid allocating event-handler arrays and wrapper functions for links without user-supplied event handlers.#8308
9c1871c- Validate navigation and redirect destinations, keep ambiguous relative URLs on the current origin, and constrain prerender requests and output paths. Prevent redirect headers from appearing in serialized server function response bodies.Preserve native form HTTP redirects, route error handling and masks for document redirects, and per-navigation destinations for shared loader redirects. Avoid redundant origin parsing and reduce link styling and server-rendering work. Configured origins must already be normalized.
Keep blocked-link inactive props consistent during React hydration, honor explicit redirect Location headers before checking route options, and refresh Vue link state when destinations become internal. Reuse the protocol-relative URL check while parsing redirect schemes once.
Reduce React link bundle size by sharing pathname comparisons, state-prop selection, and element creation.
Share normalized pathname comparisons in Solid and Vue links to reduce bundle size.
#8311
9aec5a7- React Links resolve state props without temporary class-name arrays or unnecessary style copies.Updated dependencies [
f9836f1,9c1871c,9871c06,0654c0a]:- @tanstack/router-core@1.171.29
- @tanstack/history@1.162.3
1.170.33#
Patch Changes#
#8165
2f20c00- Exclude structural descendants below error and not-found boundaries from route lifecycle callbacks. Preserve lifecycle membership through invalidation, hydration, background reloads, and superseded navigation publication.#8209
28a5e45- Preserve falsy thrown values in React and Vue error boundaries. Type React and Vue boundary error components andonCatchcallbacks asunknown. Solid boundary errors remain typed asError; SSR now wraps non-Errorloader errors to match Solidβs native boundary behavior, preserving the original value incause. Router state and loaderonErrorvalues are unchanged.When upgrading React or Vue, narrow boundary errors (for example, with
error instanceof Error) before readingmessageorstack.ErrorComponentProps<TError>remains available for values narrowed to a specific error type. RouteonErrortypes are unchanged.#8161
f0b5eda- Retain successful not-found matches as terminal shared boundaries during client navigation, preserving route context while the destination loads.#8251
0497cae- Use URL.canParse for absolute URL checks in links, navigation, redirects, and build configuration. Preserve a URL constructor fallback for older browsers.#8169
0caf6b9- Fix route-scopeduseMatch,useSearch, anduseParamsAPIs to forward theshouldThrowoption and preserve optional return types whenshouldThrow: false.#8257
cf166d1- Fix repeatedinnerHTMLwrites for unchanged styles and data scripts during React re-renders. This prevents unnecessary CSS parsing and Trusted Types errors during client navigation.Updated dependencies [
edf0e16,2f20c00,28a5e45,08eff50,216c0c4,2f91503,f0b5eda,50eafca,0497cae,ee28348,9035abc,c18e690]:- @tanstack/router-core@1.171.28
- @tanstack/history@1.162.2
1.170.32#
Patch Changes#
1.170.31#
Patch Changes#
- Updated dependencies [
3e016ac]:- @tanstack/router-core@1.171.26
1.170.30#
Patch Changes#
#8068
f75cada- direct export of CatchBoundary class component, remove function wrapperUpdated dependencies [
5d3785d,63d2cc9]:- @tanstack/router-core@1.171.25
1.170.29#
Patch Changes#
#8073
0fdf9ff- inline isCtrlKey inside Link component for byte shavingUpdated dependencies [
4c89b15,cf6ab17,bdaf73a]:- @tanstack/router-core@1.171.24
1.170.28#
Patch Changes#
#8055
0c25a7b- Avoid wrapping root components that may render the HTML document in a Suspense boundary during SSR and hydration.#8054
31882c7- Reuse resolved lazy route components when revisiting code-split routes, preventing unnecessary pending UI.Updated dependencies [
31882c7]:- @tanstack/router-core@1.171.23
1.170.27#
Patch Changes#
1.170.26#
Patch Changes#
#8045
f500760- Warn when an Outlet is rendered inside a pending, error, or not-found component.#8043
1aafca9- remove the undocumented LinkisTransitioningstate anddata-transitioningattribute#8044
aa10b65- ApplypreloadDelayto viewport link preloading and cancel pending preloads when links leave the viewport.Updated dependencies [
7e93431]:- @tanstack/router-core@1.171.22
1.170.25#
Patch Changes#
- Updated dependencies [
51138a8]:- @tanstack/router-core@1.171.21
1.170.24#
Patch Changes#
1.170.23#
Patch Changes#
1.170.22#
Patch Changes#
Updated dependencies [
ea3a665]:- @tanstack/router-core@1.171.19
1.170.21#
Patch Changes#
#7961
697ebb6- Prevent a blank frame before zero-delay initial pending UI by using a component-scoped React transition for match publication. Pending timing, boundary selection, and rendered matches continue to come from the router core.#7970
2435885- createFileRoute does not rely on FileRoute class#7971
86bf510- clean intersection observer options in link component#7967
6aefb33- Preserve path params in their raw string form while matching routes so structured values returned byparams.parseproduce stable match IDs and do not reuse stale loader data.RouterCore.getMatchedRoutes()now returns[matchedRoutes, rawParams, foundRoute]instead of an object.Updated dependencies [
84db4a8,9cac62a,6aefb33]:- @tanstack/router-core@1.171.18
- @tanstack/history@1.162.1
1.170.20#
Patch Changes#
- Updated dependencies [
b2908c6]:- @tanstack/router-core@1.171.17
1.170.19#
Patch Changes#
#7805
45c4ad8- Rewrite match loading around a lane-based scheduler that tracks each navigation, preload, and background reload as an ordered unit of work. This fixes pending/redirect/retry state leaking between overlapping navigations, restores correct SSR status codes for redirects, errors, and not-found responses, and closes hydration gaps where the client re-ran work the server had already completed.- Invalidation now retires matching active preloads so older speculative loader results cannot become fresh cache data after invalidation.
- Route
headers()now only runs on the server, matching the documented behavior β it is no longer invoked during client-side asset projection. - The documented default
gcTimeandpreloadGcTimenow match the existing runtime default of 5 minutes (300_000).
Removed / changed exported internals
RouterStateno longer includesloadedAt,isTransitioning,statusCode, orredirect. Usematch.updatedAtin place ofloadedAt; subscribe torouter.state.status/router.state.isLoadingin place ofisTransitioning; server response status and redirect handling are now internal to the server loader and are no longer exposed onrouter.state.RouteMatch.fetchCounthas been removed, with no replacement β it was purely informational.RouteMatch.statusno longer includes'redirected'(it remains'pending' | 'success' | 'error' | 'notFound') β redirected matches are dropped from the match list instead of being rendered.RouteMatch.globalNotFoundhas been renamed and privatized to the internal_notFoundfield. Usematch.status === 'notFound'instead.- The exported React, Solid, and Vue
Matchcomponents now acceptrouteIdinstead ofmatchId. - The exported
RouterStoresadapter contract now uses route-keyed presentation stores:matchesIdis replaced byids,matchStoresbybyRoute, andgetRouteMatchStore()bygetMatchStore(). The separateloadedAt,isLoading,isTransitioning,statusCode, andredirectstores have been removed, along with the pending/cache stores and their setters.StoreConfig.inithas also been removed. Read application-facing state fromrouter.state; preload and cache coordination are now internal. - Removed
RouterCoremembersgetMatch(),updateMatch(),cancelMatch(), andcancelMatches()β read matches fromrouter.state.matches(e.g.router.state.matches.find((m) => m.id === id)); there is no replacement for mutating or cancelling an individual in-flight match from outside the router. - Removed
RouterCore.hasNotFoundMatch()β userouter.state.matches.some((m) => m.status === 'notFound'). - Removed
RouterCore.looseRoutesByIdβ useroutesById. - Removed
RouterCore.isPrerendering(),RouterCore.isViewTransitionTypesSupported, andRouterCore.viewTransitionPromise, with no replacement. - Removed
RouterCore.getParsedLocationHref()andRouterCore.clearExpiredCache(), with no replacement β expired cache entries are now reconciled automatically as part of match commit. - Removed
RouterCore.latestLoadPromiseandRouterCore.beforeLoad(), with no replacement. RouterCore.commitLocationPromiseandRouterCore.pendingBuiltLocationhave been replaced by the internal_commitPromiseand_pendingLocationfields.- Removed the exported
GetMatchFnandUpdateMatchFntypes, along with the methods they typed. - Removed the standalone
getMatchedRoutes()export from@tanstack/router-coreβ use therouter.getMatchedRoutes()instance method instead. RouterCore.loadRouteChunk()no longer accepts an array of component types as its second argument. One-argument usage is unchanged; the optional second argument is now'errorComponent','notFoundComponent', orfalsefor internal boundary loading.- Removed
Redirect.redirectHandled, which was internal redirect bookkeeping. MatchRoutesOpts.preloadandMatchRoutesOpts.desthave been removed.StartTransitionFnis now(fn, expected) => Promise<boolean>(previously(fn) => void). This only affects custom framework adapters that implementstartTransition.
Updated dependencies [
45c4ad8]:- @tanstack/router-core@1.171.16
1.170.18#
Patch Changes#
- Updated dependencies [
e2dd204]:- @tanstack/router-core@1.171.15
1.170.17#
Patch Changes#
- Updated dependencies [
9809a06]:- @tanstack/router-core@1.171.14
1.170.16#
Patch Changes#
#7595
52db703- Perf improvement of useMatch and derived hooks when navigating away from previous match#7575
4a93cff- useMatches can skip useRef for structural sharing during SSR#7600
f046b06- Reduce Match rerenders during navigations (PR #7596)#7577
689d88e- Reduce bundle size by sharing structuralSharing selector logic#7627
689c5ab- Silence AbortError in renderRouterToStream, this is normal operation
1.170.15#
Patch Changes#
- Updated dependencies [
776d8ef]:- @tanstack/router-core@1.171.13
1.170.14#
Patch Changes#
- Updated dependencies [
df1076c]:- @tanstack/router-core@1.171.12
1.170.13#
Patch Changes#
#7555
ac10815- Fix search middleware composition soretainSearchParamsdoes not restore search params that a downstreamstripSearchParamsremoved.Updated dependencies [
ac10815]:- @tanstack/router-core@1.171.11
1.170.12#
Patch Changes#
1.170.11#
Patch Changes#
- Updated dependencies [
b4cd5af]:- @tanstack/router-core@1.171.9
1.170.10#
Patch Changes#
#7505
2f53749- Preserve primitive values thrown from beforeLoad error handling.Updated dependencies [
2f53749]:- @tanstack/router-core@1.171.8
1.170.9#
Patch Changes#
1.170.8#
Patch Changes#
Add support for Rsbuild client output formats, including module output by default and IIFE output for classic script environments. (#7477)
Client entry scripts and preloads are now represented as root route manifest assets, script preloads follow the manifest script format, and script asset cross-origin configuration uses the
scriptkey. ThetransformAssetsscript callback context now exposes onlykind: 'script'andurl, keeping script format handling internal to manifest rendering.Updated dependencies [
51a97a1]:- @tanstack/router-core@1.171.6
1.170.7#
Patch Changes#
- Updated dependencies [
5268ba4]:- @tanstack/router-core@1.171.5
1.170.6#
Patch Changes#
Fix hash navigation being overridden by stale scroll restoration entries. (#7447)
Updated dependencies [
0300f87,0300f87]:- @tanstack/router-core@1.171.4
1.170.5#
Patch Changes#
- Updated dependencies [
5fa9e55]:- @tanstack/router-core@1.171.3
1.170.4#
Patch Changes#
- Updated dependencies [
b60eb36]:- @tanstack/router-core@1.171.2
1.170.3#
Patch Changes#
- Updated dependencies [
d9cf933]:- @tanstack/router-core@1.171.1
1.170.2#
Patch Changes#
- Updated dependencies [
d533f87]:- @tanstack/router-core@1.171.0
1.170.1#
Patch Changes#
- Updated dependencies [
2387a2e]:- @tanstack/router-core@1.170.1
1.170.0#
Minor Changes#
- Clean minor bump, fresh start (#7395)
Patch Changes#
1.169.2#
Patch Changes#
- Updated dependencies [
35e88f0]:- @tanstack/router-core@1.169.2
1.169.1#
Patch Changes#
- Updated dependencies [
4a1e63f]:- @tanstack/router-core@1.169.1
1.169.0#
Minor Changes#
- Allow
params.parseto experimentally returnfalseto skip an incoming route candidate during path matching. Thrown parse errors still surface on the selected match instead of falling through, and outgoing typed route-template links continue to use exact route lookup followed byparams.stringifyfor URL generation. (#7263)
Patch Changes#
- Updated dependencies [
c992495]:- @tanstack/router-core@1.169.0
1.168.26#
Patch Changes#
- Updated dependencies [
b5c4183]:- @tanstack/router-core@1.168.18
1.168.25#
Patch Changes#
- Updated dependencies [
493148b]:- @tanstack/router-core@1.168.17
1.168.24#
Patch Changes#
Add TanStack Start inline CSS manifest support for SSR so route styles can be embedded in the HTML response and hydrated without duplicate stylesheet links. (#7253)
Updated dependencies [
4d864ee]:- @tanstack/router-core@1.168.16
1.168.23#
Patch Changes#
- fix(react-router): prevent webpack static analysis of
React.usewith let binding (#7182)
1.168.22#
Patch Changes#
- Preserve shared route stylesheet links across client navigation by rendering route CSS assets with React stylesheet precedence. (#7186)
1.168.21#
Patch Changes#
- Updated dependencies [
16f6892]:- @tanstack/router-core@1.168.15
1.168.20#
Patch Changes#
Fix React Server Component imports from
@tanstack/react-routerby adding areact-serverroot export that preserves the normal API surface while resolvingnotFoundandredirectfrom a server-safe entry. (#7183)This fixes RSC routes that throw
notFound()orredirect()from server functions so they behave correctly during SSR and client navigation.
1.168.19#
Patch Changes#
Fix route file transforms to preserve route ID quoting, handle more exported
Routepatterns, and avoid incorrect import rewrites in edge cases. (#7167)Improve transform robustness with clearer route-call detection, safer import removal, and expanded test coverage for quote preservation, constructor swaps, and unsupported route definitions.
1.168.18#
Patch Changes#
- Updated dependencies [
0e2c900]:- @tanstack/router-core@1.168.14
1.168.17#
Patch Changes#
- Updated dependencies [
812792f]:- @tanstack/router-core@1.168.13
1.168.16#
Patch Changes#
- Updated dependencies [
8ec9ca9]:- @tanstack/router-core@1.168.12
1.168.15#
Patch Changes#
shorten internal non-minifiable store names for byte shaving (#7152)
Updated dependencies [
6355bb7]:- @tanstack/router-core@1.168.11
1.168.14#
Patch Changes#
migrate createStore > createAtom for simpler API (#7150)
Updated dependencies [
459057c]:- @tanstack/router-core@1.168.10
1.168.13#
Patch Changes#
Fix
MatchRoutechild callback param inference to resolve params from the targettoroute instead of the route path key across React, Solid, and Vue adapters. (#7139)Fix a stale route error boundary state issue that could briefly render the next route's
errorComponentafter navigating away from a failed route. (#7136)
1.168.12#
Patch Changes#
- Fix redirected pending route transitions so lazy target routes can finish loading without stale redirected matches causing render errors. (#7137)
1.168.11#
Patch Changes#
- Fix
Linkto keep internal routing props likepreloadIntentProximity,from, andunsafeRelativefrom leaking to rendered DOM elements across React, Solid, and Vue. (#7138)
1.168.10#
Patch Changes#
Preserve component-thrown
notFound()errors through framework error boundaries so routenotFoundComponenthandlers render without requiring an explicitrouteId. (#7077)Updated dependencies [
796406d]:- @tanstack/router-core@1.168.9
1.168.9#
Patch Changes#
- Updated dependencies [
2d1ec86]:- @tanstack/router-core@1.168.8
1.168.8#
Patch Changes#
- Updated dependencies [
6ee0e79]:- @tanstack/router-core@1.168.7
1.168.7#
Patch Changes#
- Updated dependencies [
42c3f3b]:- @tanstack/router-core@1.168.6
1.168.6#
Patch Changes#
- Remove the extra SSR sentinel tag used for
onRenderedin React Router while (#7054) preserving the client-side render timing needed for scroll restoration andonRenderedsubscribers.
1.168.5#
Patch Changes#
fix: scroll restoration without throttling (#7042)
Updated dependencies [
cf5f554]:- @tanstack/router-core@1.168.5
1.168.4#
Patch Changes#
1.168.3#
Patch Changes#
1.168.2#
Patch Changes#
Replace tiny-invariant and tiny-warning with in-house solution for bundle-size (#7007)
Updated dependencies [
c9e1855]:- @tanstack/router-core@1.168.2
1.168.1#
Patch Changes#
1.168.0#
Minor Changes#
- remove pendingMatches, cachedMatches (#6704) move to signal-based reactivity solid uses its own native signals
Patch Changes#
- Updated dependencies [
0545239]:- @tanstack/router-core@1.168.0
1.167.5#
Patch Changes#
- Updated dependencies [
5ff4f0b]:- @tanstack/router-core@1.167.5
1.167.4#
Patch Changes#
Add @tanstack/intent AI agent skills and CLI entry points for Router and Start packages (#6866)
Updated dependencies [
940151c]:- @tanstack/router-core@1.167.4
1.167.3#
Patch Changes#
- Updated dependencies [
32fcba7]:- @tanstack/router-core@1.167.3
1.167.2#
Patch Changes#
build: update to vite-config 5.x (rolldown) (#6926)
Updated dependencies [
838b0eb]:- @tanstack/history@1.161.6
- @tanstack/router-core@1.167.2
1.167.1#
Patch Changes#
fix: build with @tanstack/vite-config 0.4.3 (#6923)
Updated dependencies [
ef9b241]:- @tanstack/router-core@1.167.1
- @tanstack/history@1.161.5
1.167.0#
Minor Changes#
- feat: add staleReloadMode (#6921)
Patch Changes#
- Updated dependencies [
6f297a2]:- @tanstack/router-core@1.167.0
1.166.8#
Patch Changes#
- fix: hoist inline component definitions for proper React HMR#6919 (#6919)