shreyasvh
Issue with createMemo and createInfiniteScroll
I have a solid js application. I have the following component.
Basically I have a tours section on the left and years section on the right. When a year is selected on the right, I use the solid-router to navigate to the same page with year param changed to the one selected. I also have infinite scrolling on the tours section. Everytime a year is changed, I set the page to 0. But, weirdly, the page for the infinite scrolling toggles between 0 and 1 whenever I change a year. Ideally, it should always be set to 0. What could I be doing wrong here?
2 replies