Closed electroheadfx closed 2 years ago
solid is actually 1.1.6, maybe we should update to 1.3 ?
Hi Laurent! @electroheadfx
It seems the problem with <FrameworkLink>
is related to not using a hydration strategy.
A current limitation, which is mentioned in the Supported frameworks section:
You must add a hydration directive when using non-Vue components in Vue and MDX files.
If the component is not meant to be interactive, you may use client:none
as in the starter app.
It would be possible to remove the need for client:none
in the future, just haven't prioritized it yet.
solid is actually 1.1.6, maybe we should update to 1.3 ?
Sounds good!
nope. With vue Component it works fine, no with solid. Did you tested the default project with solid install with FrameworkLink.jsx component ?
I couldn't replicate it in the blog example, so I created a new project like you suggested.
It seems that there are breaking changes in the latest version of the solid-refresh
plugin. I'll take a look and release a version supporting the latest solid-js
+ vite-plugin-solid
combo.
In the meantime, the following versions should work as expected:
"vite-plugin-solid": "2.1.1",
"solid-js": "1.1.6"
Have a branch that adds support for solid@1.3
.
Not releasing yet, because I run into some subtle issues with hydration, waiting to see if the internals will be updated to handle all cases consistently.
For now, it's better to stick to previous versions of solid
.
@electroheadfx Released iles@0.7.32
which supports solid-js@1.3.8
.
Running npm init iles@next
and selecting Solid works as expected in this latest version.
Thanks again for reporting!
iles
andvite
.Description π
I can't get solid component working in markdown and vue pages with the error: in safari:
Unhandled Promise Rejection: TypeError: Argument 1 ('node') to Node.insertBefore must be an instance of Node
in chrome:
Reproduction π
With basic iles installation with solid template,
pnpm init iles@next
with solid templateYEAH !
; } export default Test; ``` in about page I add: ```jsLogs π
If not providing a reproduction:
Output
_Run `DEBUG=iles:* npm run dev` or `DEBUG=iles:* npm run build` and provide the output:_ ``` ```Screens
here a screen with the default solid component FrameWorkLink, it doesn't output after the Teal box color. hots π·
Provide console or browser screenshots of the problem.