Skip to content

Conversation

birkskyum
Copy link
Member

@birkskyum birkskyum commented Mar 1, 2025

Picking solid-router relevant changes from commit by @brenelz , that fixes assets handler in solid-router by using @solidjs/meta.

With this, the head tags like the title will update on client navigation.

The changes in this PR that affect most files are merely repetitions of:

  • bumping solid 1.9.4 -> 1.9.5
  • inserting <HeadContent> in the root route
  • removing <title> from the index.html

Includes an automated test for solid-router corresponding to

Copy link

nx-cloud bot commented Mar 1, 2025

View your CI Pipeline Execution ↗ for commit dec50f8.

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded 4m 47s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 1m 57s View ↗

☁️ Nx Cloud last updated this comment at 2025-03-01 05:06:52 UTC

@birkskyum birkskyum changed the title chore(solid-router): fix HeadContent fix(solid-router): make HeadContent work for client navigation Mar 1, 2025
Copy link

pkg-pr-new bot commented Mar 1, 2025

Open in Stackblitz

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@3616

@tanstack/create-router

npm i https://pkg.pr.new/@tanstack/create-router@3616

@tanstack/create-start

npm i https://pkg.pr.new/@tanstack/create-start@3616

@tanstack/directive-functions-plugin

npm i https://pkg.pr.new/@tanstack/directive-functions-plugin@3616

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@3616

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@3616

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@3616

@tanstack/react-start

npm i https://pkg.pr.new/@tanstack/react-start@3616

@tanstack/react-router-with-query

npm i https://pkg.pr.new/@tanstack/react-router-with-query@3616

@tanstack/react-start-api-routes

npm i https://pkg.pr.new/@tanstack/react-start-api-routes@3616

@tanstack/react-start-client

npm i https://pkg.pr.new/@tanstack/react-start-client@3616

@tanstack/react-start-config

npm i https://pkg.pr.new/@tanstack/react-start-config@3616

@tanstack/react-start-plugin

npm i https://pkg.pr.new/@tanstack/react-start-plugin@3616

@tanstack/react-start-router-manifest

npm i https://pkg.pr.new/@tanstack/react-start-router-manifest@3616

@tanstack/react-start-server

npm i https://pkg.pr.new/@tanstack/react-start-server@3616

@tanstack/react-start-server-functions-client

npm i https://pkg.pr.new/@tanstack/react-start-server-functions-client@3616

@tanstack/react-start-server-functions-fetcher

npm i https://pkg.pr.new/@tanstack/react-start-server-functions-fetcher@3616

@tanstack/react-start-server-functions-handler

npm i https://pkg.pr.new/@tanstack/react-start-server-functions-handler@3616

@tanstack/react-start-server-functions-ssr

npm i https://pkg.pr.new/@tanstack/react-start-server-functions-ssr@3616

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@3616

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@3616

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@3616

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@3616

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@3616

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@3616

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@3616

@tanstack/server-functions-plugin

npm i https://pkg.pr.new/@tanstack/server-functions-plugin@3616

@tanstack/solid-router

npm i https://pkg.pr.new/@tanstack/solid-router@3616

@tanstack/start

npm i https://pkg.pr.new/@tanstack/start@3616

@tanstack/start-config

npm i https://pkg.pr.new/@tanstack/start-config@3616

@tanstack/start-server-functions-server

npm i https://pkg.pr.new/@tanstack/start-server-functions-server@3616

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@3616

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@3616

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@3616

commit: dec50f8

@birkskyum birkskyum mentioned this pull request Mar 1, 2025
10 tasks
@schiller-manuel schiller-manuel merged commit 409cdf1 into TanStack:main Mar 1, 2025
7 checks passed
schiller-manuel pushed a commit that referenced this pull request Mar 1, 2025
This PR introduce support for Solid to be used with TanStack Start.

There are several ongoing refactors that can influence the timing of
when it's most feasible to merge this.

### Status (build and run e2e/solid-start/basic)
- [X] SSR
- [x] API Routes
- [x] Server Functions
- [x] HMR
- [x] Streaming (/stream route)
- [X] Timely hydration

### Ongoing refactors

Refactor to make router packages (aka. client-only features) more
agnostic:
- #3552
- #3540
- #3538
- #3171

Refactor to make start packages (aka. server features) more agnostic:
- #3546 
- #3563 
- #3565 

### Upstream changes to solid-router
- #3592
- #3591
- #3589
- #3616 

### Passing E2E test suites
- [x]  basic
- [x]  website
- [x] scroll-restoration
- [x] server-functions

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Brenley Dueck <[email protected]>
Co-authored-by: Iha Shin <[email protected]>
Co-authored-by: Brenley Dueck <[email protected]>
leesb971204 pushed a commit to leesb971204/router that referenced this pull request Apr 16, 2025
…ack#3616)

Picking solid-router relevant changes from
[commit](TanStack@9eaa09e)
by @brenelz , that fixes assets handler in solid-router by using
`@solidjs/meta`.

With this, the head tags like the title will update on client
navigation.

The changes in this PR that affect most files are merely repetitions of:
- bumping solid 1.9.4 -> 1.9.5
- inserting `<HeadContent>` in the root route
- removing `<title>` from the index.html

Includes an automated test for solid-router corresponding to 
- TanStack#3610

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
leesb971204 pushed a commit to leesb971204/router that referenced this pull request Apr 16, 2025
This PR introduce support for Solid to be used with TanStack Start.

There are several ongoing refactors that can influence the timing of
when it's most feasible to merge this.

### Status (build and run e2e/solid-start/basic)
- [X] SSR
- [x] API Routes
- [x] Server Functions
- [x] HMR
- [x] Streaming (/stream route)
- [X] Timely hydration

### Ongoing refactors

Refactor to make router packages (aka. client-only features) more
agnostic:
- TanStack#3552
- TanStack#3540
- TanStack#3538
- TanStack#3171

Refactor to make start packages (aka. server features) more agnostic:
- TanStack#3546 
- TanStack#3563 
- TanStack#3565 

### Upstream changes to solid-router
- TanStack#3592
- TanStack#3591
- TanStack#3589
- TanStack#3616 

### Passing E2E test suites
- [x]  basic
- [x]  website
- [x] scroll-restoration
- [x] server-functions

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Brenley Dueck <[email protected]>
Co-authored-by: Iha Shin <[email protected]>
Co-authored-by: Brenley Dueck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants