How to add events for scrolling like React? (with solid-qurey)
Hi, I've only been dealing with React projects and I'm practicing Solid-js.
createResource
offers powerful features, but I'm using a solid-query library that I'm more familiar with to handle async.
I'm trying to implement infinite scrolls, but I've tried createRenderEffect
and on
but I'm not sure what event happens when scrolls reach a certain location as I think.
I'd appreciate your help.
1 Reply
solid-query has a
createInfiniteQueries
so you don't need to create this yourself.