stiba
Explore posts from serversInfinite scrolling solid-start
I'm trying to create something like an infinite scroll.
The data I'm fetching requires api-keys etc, so it has to be done server side.
The initial data fetches fine, since it's being fetched on the server, but when I try to fetch more, it tries to call my api class from the browser, and the api-key are undefined (naturally).
How can I make my
fetchMore
function only run on the server? Do I need to create an api route ?4 replies
solid-js reactivity eslint with functions
I'm getting the following warning:
This function should be passed to a tracked scope (like createEffect) or an event handler because it contains reactivity.eslintsolid/reactivity
What am I doing wrong here? I tried looking at the eslint-plugin docs but I'm not getting any wiser
6 replies