New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll Primitive works in SolidJS, but not Solid Start #392
Comments
|
This issue is more appropriate for the solid-primitives repository. Consider moving it there. |
|
Well, I think this is just a documentation issue, because I didn't know these kinds of things needed to be in onMount(). I didn't see anything about it on the Solid Start website, and it wasn't in the primitive either. Do you think we should just update the documentation for the primitives saying that they won't work as written in Solid Start? Should we have it written in one place on the Solid Start website (Maybe it is already and I just didn't see it). Should we do both? I also am not confident that this code is the best way to use these client primitives. Does anyone know a better way to do it? |
|
Yeah we need to cover SSR fundamentals in Solid core docs I think. Right now the guide is on how to set things up, not how they work. Which implies knowledge of other SSR frameworks which isn't acceptable. I will tag this with documentation. |
|
Consolidated this into #473 |

I'm getting an error when using @solid-primitives/scroll. The error is given below

There was also a time when I was getting an error that said it couldn't read createScrollPosition because it was undefined, but I can't reproduce that one anymore.
This issue shows up even in a new solid start project. The line number also doesn't seem to correspond to the actual place that I wrote the code in my repo, or in the new solid project. Here is the full error, if it helps
The text was updated successfully, but these errors were encountered: