Casacobra
Safari Video Not AutoPlaying when inside a Suspense
Hey Max yeah the main concern is I don’t want controls to be set to true I need it without controls and safari policy or iOS policy is you can play a video automatically as long as it’s muted
12 replies
Best approach for using createResource
@mdynnl I think I know the issue... thanks for getting back to me!
I have the following
app.tsx
Then I have an AuthGuard
that basically checks whether you have an auth session or not. If you visit /
and have no session it redirects you to the login page auth/login.tsx
I think the problem here is, it automatically runs createResource
on the /
page first then directs you to auth/login.tsx
when you then log in it then directs you back to /
which runs this twice.
This is the AuthGuard
page:
I then made the index page in app.tsx
lazy load the component for the index page that basically fetches the resource, this definitely doesn't run the fetcher twice and fixes the issue, but its not what i wanted. Do you see what the issue could be here by any chance?3 replies
Reactivity when passing props down not reactive on nested component
@foolswisdom If I do it in the root component,
ParentComponent
as a map
it works and reactivity works, the minute i move it to a child component is when it does not become reactive when I use <For>
or map... It's so strange..17 replies
Solid Cache
Hey @lxsmnsyc not too sure how the cache stuff works. I have a
/products
route and then a /products/new
route. When creating a new product and successful I am navigating back to /products
then want to invalidate and refresh/invalidate all cache. Is there a way to handle this solution?53 replies