Help getting started #19
-
Hi! Thanks For your amazing work. I am just having a little trouble getting things to work, I tried the examples in the docs I tried playing around and translating react examples to solid but nothing seems work correctly, for example:
prints Enter some text... no matter what I write I am sure this is a skill issue on my side but would appreciate your guidance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @OmarGoubail! After some testing, I figured out the problem 🙈. Currently, this library works with solid start (which is what the test in "docs" uses) but not with the plain vite setup 🤔. I don't know why that is, but it surely has something to do with esm / cjs packaging issues. Even in solid start, it seems the page needs to have been server rendered to work! Really odd. I'll create a ticket to track this as a bug, as this needs to be fixed! By the way, you should check out the |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the quick reply, and thank you for the tip as much as i I love Solid some react habits die hard. |
Beta Was this translation helpful? Give feedback.
Hey @OmarGoubail! After some testing, I figured out the problem 🙈. Currently, this library works with solid start (which is what the test in "docs" uses) but not with the plain vite setup 🤔. I don't know why that is, but it surely has something to do with esm / cjs packaging issues. Even in solid start, it seems the page needs to have been server rendered to work! Really odd. I'll create a ticket to track this as a bug, as this needs to be fixed!
By the way, you should check out the
<For>
(and<Index>
) components, which we usually use for dynamic lists likedebugLog
, and we don't have akey
prop 🙂.