-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to svelte4 #5
to svelte4 #5
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Can you figure out how to use newer version of nodejs on Vercel? |
OK, I've figured it out. |
It doesn't load correctly. I've rollbacked the deployment. |
|
I guess this: https://svelte.dev/docs/v4-migration-guide#stricter-types-for-svelte-functions
but as this sveltejs/svelte#8136 said, it only has a relationship to |
I am not sure if the below code works. onMount(() => {
do_hash_search();
while (true) {
try {
fetch(`${LUOXU_URL}/groups`)
.then((res) => res.json())
.then((json) => {
groups = json.groups;
need_update_title = true;
});
if (!group) {
group = "";
}
break;
} catch (e) {
console.error("failed to fetch group info, will retry", e);
sleep(1000).then(() => {});
}
}
}); |
There is no error, and there is no function returned. |
is there a minimal example to test locally? |
Not yet. You can try to create one. |
I've reverted this. I'll try again after the issue is resolved. |
No description provided.