navi.ToTskie
navi.ToTskie
SSolidJS
Created by navi.ToTskie on 12/16/2023 in #support
When to use data.loading vs <suspense>
Somehow in createresource i cant use <suspense> unless i put 'data()?. Something'
5 replies
SSolidJS
Created by navi.ToTskie on 12/13/2023 in #support
createresource signal return undifined
const fetchUser = async (id) =>
(await fetch(`https://swapi.dev/api/people/${id}/`)).json();
const fetchUser = async (id) =>
(await fetch(`https://swapi.dev/api/people/${id}/`)).json();
const [user] = createResource(1, fetchUser);
console.log(user())
const [user] = createResource(1, fetchUser);
console.log(user())
2 replies
SSolidJS
Created by navi.ToTskie on 12/12/2023 in #support
official website createresource
https://docs.solidjs.com/guides/how-to-guides/routing-in-solid/solid-router. Under dynamic routes example, does this example work on your local?
3 replies
SSolidJS
Created by navi.ToTskie on 12/12/2023 in #support
createresource why is this error even on a basic example
No description
48 replies
SSolidJS
Created by navi.ToTskie on 12/1/2023 in #support
Data on fetch must be updated everytime like realtime data
Im thinking now that if i setinterval the fetch everytime i might cause performance issue. How to have the right way to get realtime data on fetch get method.
5 replies
SSolidJS
Created by navi.ToTskie on 11/29/2023 in #support
how to not update previous value in array
No description
5 replies
SSolidJS
Created by navi.ToTskie on 11/12/2023 in #support
useContext. why doest get the value
No description
4 replies
SSolidJS
Created by navi.ToTskie on 10/13/2023 in #support
solid-primitive/pagination
can somebody explain this?. here is the code of initiaze pagination. const [paginationProps, page] = createPagination({ pages: Math.ceil(props.row/20) >=3? Math.ceil(props.row/20):4,initialPage:1,maxPages:Math.ceil(props.row/20) <=3? Math.ceil(props.row/20):4});
3 replies
SSolidJS
Created by navi.ToTskie on 10/12/2023 in #support
console.log asynch function delay the actual value
No description
1 replies
SSolidJS
Created by navi.ToTskie on 10/11/2023 in #support
help
No description
9 replies
SSolidJS
Created by navi.ToTskie on 10/11/2023 in #support
can anyone give me a scenario in when to use createresouce : refetch and mutation
No description
3 replies
SSolidJS
Created by navi.ToTskie on 10/1/2023 in #support
i oftenly have this problem everytime i turned on my pc and run
No description
4 replies
SSolidJS
Created by navi.ToTskie on 8/6/2023 in #support
FileRoutes duplicate hydration and not displaying dynamic route
9 replies