SolidJSS
SolidJSโ€ข2y agoโ€ข
25 replies
caseybaggz

Does streaming work in SolidJS with signals?

Hello! I was trying to update my OpenAI Assistant to use the new streaming API and I can successfully get it to work and log to the console, but when I update a signal instead of console.loging...the UI never updates after the first item?

I'm guessing there is something on the "fine-grain" reactivity playing a part of this? I'm new to API streaming but would love to add this feature to my app and be more performant (also have a cleaner codebase)?

Anything I'm missing?

Context:
https://platform.openai.com/docs/assistants/overview?lang=node.js&context=with-streaming
Was this page helpful?