Ping for toast
Ping for toast
Explore posts from servers
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
how do I access the cache function?
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
oooh, chill
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
I understand that, but it is a useless additional network callw ehn I already understand the exact mutation that will happen
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
Yeah unfortunately I’m locked into resources for mutational abilities though it’s possible I could proxy the cache through a store. I’ll try
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
function AppWrap(props: { children: JSX.Element }) {
...
console.log("called");
return (
....
);
}

export default function App() {
return (
<MetaProvider>
<Router
root={(props) => (
<>
<Suspense>
<AppWrap>{props.children}</AppWrap>
</Suspense>
</>
)}
>
<FileRoutes />
</Router>
</MetaProvider>
);
}
function AppWrap(props: { children: JSX.Element }) {
...
console.log("called");
return (
....
);
}

export default function App() {
return (
<MetaProvider>
<Router
root={(props) => (
<>
<Suspense>
<AppWrap>{props.children}</AppWrap>
</Suspense>
</>
)}
>
<FileRoutes />
</Router>
</MetaProvider>
);
}
interestingly, this too is being called forever
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
the closure keeps getting called
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
Ok so its not even the resource being run forever
15 replies
SSolidJS
Created by Ping for toast on 8/9/2024 in #support
Infinite context loop in start dev?
output of console.trace
15 replies
SSolidJS
Created by McBrincie212 on 3/8/2023 in #support
Track Variable Changes
13 replies
SSolidJS
Created by McBrincie212 on 3/8/2023 in #support
Track Variable Changes
const [n,setN] = createSignal(0)
const n2 = () => n() * n()
setN(30)
const [n,setN] = createSignal(0)
const n2 = () => n() * n()
setN(30)
?
13 replies
SSolidJS
Created by Ping for toast on 1/8/2023 in #support
Await Resource
I tried
<SessionProvider>
<Show when={!useSession().loading}>
<Routes>
<FileRoutes />
</Routes>
</Show>
</SessionProvider>
<SessionProvider>
<Show when={!useSession().loading}>
<Routes>
<FileRoutes />
</Routes>
</Show>
</SessionProvider>
but this doesn't work
2 replies