Skip to content
Discussion options

You must be logged in to vote

I figured it out by myself. I need to configure solid-js in externals and then provide the solid-js dependency/instance used in the vite project when importing. I misunderstood that solid-js compiles reactive operations into dom operations, mistakenly thinking that all operations are compiled and there's no need for an independent runtime like React. It seems that solid-js shares some context in terms of signals to achieve reactivity, so the same solid-js instance must be used.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SaekiRaku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant