deathBringer
cache function provided in 'solid-router' doesn't work properly when used with Promise.allSettled .
even if I make separate calls one after another in "populateData" function, I get the same response. I think another call can't be made using cache function until the Cached data expires. Additionally , why shouldn't one use promise.all ? it's a good feature.
6 replies
cache function provided in 'solid-router' doesn't work properly when used with Promise.allSettled .
if i call them individually at different route load functions it works. if i remove the cache wrapper in above example it also works. if i use fetch api in above example it fails so it's not axios problem for sure.
6 replies