Changelog: v0.0.10...v0.0.11
-
React Corsair is now a part of MegaStack.
-
CommonJS support has been removed.
-
useRouteandredirectcan now be used in anotFoundComponent. -
LazyComponentErroris thrown instead ofErrorwhen alazyComponentcannot be loaded. -
NotFoundErroris thrown bynotFound. -
Params adapter can be a Standard Schema instance.
-
RouteController.renderingStagedistinguishes between foreground, background, fallback, and discarded controllers. -
Router.locationandRouter.rootControllerare nevernull. -
The "navigate" event includes previous and next controllers and locations.
-
LinkProps.prefetchspecifies when a link’s location should be prefetched. -
createHashHistoryhas been renamed tocreateHashBrowserHistory. -
History.toAbsoluteURLhas been removed. UseHistory.toURLandHistory.parseURLinstead. -
BrowserHistory.startmust be called for histories returned bycreateBrowserHistoryandcreateHashBrowserHistory. -
The
SearchParamsSerializerinterface has been removed in favor ofSerializer<Dict>. -
History.canGoBackreturnstrueif callingHistory.backwould certainly move back one page in history. -
OutletProps.fallbackis rendered when no controller is available to render in anOutlet. -
ReadableSSRRouterandPipeableSSRRouterhave been removed. UseSSRRouterinstead. -
SSRRouterOptions.stateStringifierandHydrateRouterOptions.stateParserhave been replaced with a unifiedserializeroption. -
usePrefetchand<Prefetch>now supportprefetchTrigger, which defers prefetching until a specific event occurs. UsecreateHoveredPrefetchTrigger,createVisiblePrefetchTrigger, or a customPrefetchTrigger.