createResource refetch causes full page refresh
I'm using SolidStart, dabbling for the first time with data fetching using Solid, apologies in advance for any simple misunderstandings.
I've got an API route giving me a list of projects which I've put into a resource in the following manner:
The fetching function itself is as follows
When manually triggering
I've got an API route giving me a list of projects which I've put into a resource in the following manner:
The fetching function itself is as follows
When manually triggering
refetchProjects() in an onClick the entire page flashes white in what seems like a full page reload. Any ideas as to what I'm doing wrong? Are resources the wrong solution?