0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/packages/react-router/src
Felipe Stanzani ceec4f2102
feat: Add style to HeadContent (#4559)
Currently Route HeadContent don't have support to inline style tags.

After a contribution proposition made by @schiller-manuel in the Discord
Group I have decided to implement this.

I also have used this in the basic example for react-start and
solid-start and added style and style w/loader test cases to both
modules.

---------

Co-authored-by: Flo <fpellet@ensc.fr>
History 2025-07-02 00:28:12 +02:00
..
ssr fefactor: restructure SSR handling between start/router (#4495) 2025-06-26 22:14:57 +02:00
Asset.tsx fix(react-router, solid-router): make head function scripts load properly (#4323) 2025-06-18 22:03:06 +02:00
awaited.tsx refactor(router-core): move router-core into a separate package (#3171) 2025-01-26 14:06:35 +13:00
CatchBoundary.tsx fix(router): fixed a lot of context related issues (#1907) 2024-07-16 19:34:14 +02:00
ClientOnly.tsx fix: Small comment text change to bump version 2025-06-06 15:57:02 -07:00
fileRoute.ts feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
HeadContent.tsx feat: Add style to HeadContent (#4559) 2025-07-02 00:28:12 +02:00
history.ts feat(react-router): implement hash change "Scroll Into View" option (#2996) 2024-12-14 08:58:03 +01:00
index.tsx feat: add optional shellComponent to root route (#4528) 2025-06-27 22:17:38 +02:00
lazyRouteComponent.tsx feat(react-router): Export ClientOnly (#3969) 2025-04-13 10:50:44 +02:00
link.tsx fix(react-router,solid-router): prevent unsafeRelative prop going into the DOM (#4530) 2025-06-27 15:44:57 +12:00
Match.tsx feat: add optional shellComponent to root route (#4528) 2025-06-27 22:17:38 +02:00
matchContext.tsx fix(react-router): fix re-rendering when loaderDeps change (#2752) 2024-11-14 20:59:48 +01:00
Matches.tsx feat: Add style to HeadContent (#4559) 2025-07-02 00:28:12 +02:00
not-found.tsx refactor(router-core): move isNotFound and isRedirect to router-core (#3725) 2025-03-10 10:10:02 +01:00
renderRouteNotFound.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
route.tsx feat: add optional shellComponent to root route (#4528) 2025-06-27 22:17:38 +02:00
router.ts feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
routerContext.tsx refactor(router-core): moving internals of Router to router core (#3800) 2025-03-18 19:26:13 +01:00
RouterProvider.tsx feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
SafeFragment.tsx feat: New Serialization Paradigm (#1824) 2024-06-28 09:45:01 -06:00
ScriptOnce.tsx fix: Fix scroll restoration (#3191) 2025-01-29 14:50:54 -07:00
Scripts.tsx feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
scroll-restoration.tsx fix(router-core): agnostic scroll restoration (#3740) 2025-03-11 18:46:51 +01:00
ScrollRestoration.tsx fix: properly handle sessionStorage not being available for scroll restoration (#4186) 2025-05-16 19:03:16 +02:00
serializer.ts fix(router-core): remove React type dependency (#3902) 2025-04-01 16:23:06 +02:00
structuralSharing.ts refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
Transitioner.tsx fix(react-router): restore scroll position onResolved (#3914) 2025-04-02 20:37:36 +02:00
typePrimitives.ts fix(router-core): move typePrimitives to shared package (#3748) 2025-03-12 13:30:19 +01:00
useBlocker.tsx feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
useCanGoBack.ts feat(react-router): add useCanGoBack (#3017) 2025-01-03 21:09:58 +01:00
useLoaderData.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useLoaderDeps.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useLocation.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useMatch.tsx fix(router-core): move ThrowConstraint to core utils (#3749) 2025-03-12 13:54:05 +01:00
useNavigate.tsx feat: Merge alpha to main (#4365) 2025-06-10 23:19:32 +02:00
useParams.tsx fix(router-core): move ThrowConstraint to core utils (#3749) 2025-03-12 13:54:05 +01:00
useRouteContext.ts refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useRouter.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useRouterState.tsx refactor(router-core): move AnyRoute and AnyRouter to router-core (#3640) 2025-03-04 21:48:58 +01:00
useSearch.tsx fix(router-core): move ThrowConstraint to core utils (#3749) 2025-03-12 13:54:05 +01:00
utils.ts refactor(router-core): move more types to router-core (#3540) 2025-02-24 19:36:30 +01:00