Skip to content

solid-v2: document the server-function data address - #288

Merged
ryansolid merged 2 commits into
mainfrom
server-function-data-address
Oct 30, 2026
Merged

ryansolid merged 2 commits into
mainfrom
server-function-data-address

Conversation

@ryansolid

@ryansolid ryansolid commented Aug 29, 2026 •

Copy link
Copy Markdown
Member

Summary

  • A cacheable raw Response is shaped by a request header nothing keys on solid#3094 gives scripted server-function calls their own data address, <endpoint>/data/<id>, leaving the bare <endpoint>/<id> to plain HTTP (form actions, direct callers).
  • The audit found no code impact in the v2 templates: fullstack and fullstack-tanstack configure the mount only, their servers route by prefix/fallthrough, and the TanStack integration keys on query keys and flight sources, not URL shapes.
  • The two READMEs' network-tab walkthroughs said POST /_server; they now name POST /_server/data/<id>, which is what readers will actually see.

The split has shipped in @solidjs/web and the templates' deps resolve to it. Merged main in (the tanstack README paragraph had been reworded since) and reapplied the change on top.

Made with Cursor

solidjs/solid#3094 gives scripted calls their own address under the
endpoint (/_server/data/<id>); the network-tab walkthroughs now name
the path readers will actually see. No code change: both templates
configure the mount only, and dispatch is prefix-based.

Co-authored-by: Cursor <[email protected]>
@brenelz

brenelz commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Is this PR still relevant?

# Conflicts:
#	solid-v2/fullstack-tanstack/README.md
@ryansolid
ryansolid marked this pull request as ready for review October 30, 2026 20:57
@ryansolid
ryansolid merged commit 0d34fda into main Oct 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants