Khyonn
Is there some cases where createResource doesn't handle errors ?
Yeah, the api.get handles 404 as error
Ok, I see, so the best way to make sure everything's fine should be to check if there's an error before evalutating resource() (and in case of error, don't evaluate resource()) !
Checking ... And ... yes, works as expected ! Always love you answers @lexlohr
3 replies
How to set a url for the Solid router on backend (SSR) side?
If you want to do some SSR, you should probably take a look at https://start.solidjs.com/
9 replies
Maximum call stack size exceeded while using createEffect
... well, it's an other way to do this ...
but you should probably check out at derived signals like @eslachance said. Because, I don't think it's a good practice to edit an API data directly
14 replies