You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to render a route with the "A" element inside the render path, the following message is displayed on the server console: "SSR currently does not support spread children." and the A tags are not rendered correctly to the SSR HTML.
I inspected the solid-js source code and found the error is called when the following function is used: ssrSpread. I searched the compiled output of my application and found the use of this method in one place: inside the A component of the router.
Run npm i and npm run build:async && npm run start:async
Visit localhost:8080 in your browser. Observe the anchor tags in the header did not render the text contents, and do not function as they're supposed to.
Visit the console where you launched the start:async script and observe the "SSR currently does not support spread children.", one for each A component.
Expected behavior
A tags should not cause an issue with SSR and should render correctly with SSR.
Screenshots or Videos
No response
Platform
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When attempting to render a route with the "A" element inside the render path, the following message is displayed on the server console: "SSR currently does not support spread children." and the A tags are not rendered correctly to the SSR HTML.
I inspected the
solid-js
source code and found the error is called when the following function is used:ssrSpread
. I searched the compiled output of my application and found the use of this method in one place: inside the A component of the router.The culprit appears to be here:
solid-router/src/components.tsx
Line 60 in 591f34c
Your Example Website or App
https://github.com/only-cliches/solid-ssr-workbench
Steps to Reproduce the Bug or Issue
npm i
andnpm run build:async && npm run start:async
start:async
script and observe the "SSR currently does not support spread children.", one for each A component.Expected behavior
A tags should not cause an issue with SSR and should render correctly with SSR.
Screenshots or Videos
No response
Platform
N/A
Additional context
No response
The text was updated successfully, but these errors were encountered: