Root:3000
Root:3000
SSolidJS
Created by Root:3000 on 6/27/2024 in #support
How do i host static vinxi build with nginx so the routing works, is there any guide?
This worked
server {
listen 80;
server_name localhost;
index index.html index.htm;

location / {
try_files $uri $uri/ /index.html;
}

}
server {
listen 80;
server_name localhost;
index index.html index.htm;

location / {
try_files $uri $uri/ /index.html;
}

}
7 replies
SSolidJS
Created by Root:3000 on 6/27/2024 in #support
How do i host static vinxi build with nginx so the routing works, is there any guide?
returns 404
7 replies
SSolidJS
Created by Root:3000 on 6/27/2024 in #support
How do i host static vinxi build with nginx so the routing works, is there any guide?
but the nested and dynamic [routes] doesnt work
7 replies
SSolidJS
Created by Root:3000 on 6/27/2024 in #support
How do i host static vinxi build with nginx so the routing works, is there any guide?
Static vinxi gives html js css output, why do I need node js server for?
7 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
Thank you so much for your time. Btw vinxi has some major hydration related bugs related auto refreshing the route logic after things change
10 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
let me try 👍
10 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
let me try
10 replies
SSolidJS
Created by Root:3000 on 6/23/2024 in #support
How to route `products/[id]/settings` in Solidstart?
yes
10 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
whoa it worked. thank you
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
i just mean i'm not able to find solution yet
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
so in this case it's empty
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
i have to handle when there's no subscription
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
yeah i was using reverse data as fallback
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
fetchBal() === undefined, removes an error but as the object is just empty {} this acts super weird
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
i'm using solid-js/web not solid-start
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
export const [fetchBal, setFetchBal] = createSignal();
async func..
await fetch...
setFetchBal(await res.json());

console.log(Object.keys(fetchBal()["subscription"]).length);
console.log("check", JSON.stringify(fetchBal()["subscription"]) === '{}');
async func..
await fetch...
setFetchBal(await res.json());

console.log(Object.keys(fetchBal()["subscription"]).length);
console.log("check", JSON.stringify(fetchBal()["subscription"]) === '{}');
logs returns 0 and true one after another
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
plus it's returning data just before calling setter function
36 replies
SSolidJS
Created by Root:3000 on 12/24/2022 in #support
Object.keys returns undefined on JSX
i'm using JSX ! doesn't work
36 replies