Claloi
Claloi
SSolidJS
Created by Claloi on 7/2/2024 in #support
EventSource's response has a MIME type ("text/html") that is not "text/event-stream".
Thank, finally it was mostly a error on my side when i create the api route folder I forgot that my capslock was on so it was API instead of api.
4 replies
SSolidJS
Created by Claloi on 7/2/2024 in #support
EventSource's response has a MIME type ("text/html") that is not "text/event-stream".
Somehow, I'm getting the createHandler from entry-server.tsx instead of my data.
4 replies
SSolidJS
Created by Claloi on 6/13/2024 in #support
How to make Server Sent Event (SSE)
Thank for the information, I will check that!
3 replies
SSolidJS
Created by Claloi on 6/7/2024 in #support
Problem with createAsync.
It finally work with onGridReady event Thank you
12 replies
SSolidJS
Created by Claloi on 6/7/2024 in #support
Problem with createAsync.
But is there a way to make it usable during the render without have to put it in a createEffect? Because I use ag-grid, so it need the data to load the grid or the only way during render is just to put everything inside a createEffect().
12 replies
SSolidJS
Created by Claloi on 6/7/2024 in #support
Problem with createAsync.
So i just need to do something like that :
const listProject: Component = () => {
const dataList = createEffect(() => createAsync(() => getProjects(),{deferStream: true})
}
const listProject: Component = () => {
const dataList = createEffect(() => createAsync(() => getProjects(),{deferStream: true})
}
12 replies
SSolidJS
Created by Claloi on 6/7/2024 in #support
Problem with createAsync.
I'm not sure to understand, why the fact that it run only once will make it so that it return undefined.
12 replies