skykanin
skykanin
SSolidJS
Created by skykanin on 11/13/2023 in #support
How to fetch chunks of data with createResouce?
How can I use createResource to fetch chunks of data from a paginated API endpoint? I need to fetch more data when the user clicks a button and then store that somewhere. Afaict you can't update the data createResource stores since refetching, mutating will get rid of the old data right? Do I need to store the data in a signal for this?
7 replies