SolidJSS
SolidJSβ€’2mo agoβ€’
15 replies
Syntist

TypeError: sharedConfig.context.resources[id] is not an Object. (evaluating '"data" in sharedConfig.

I am trying to port nextjs project o solidstart, love the way solid handles ssr, it's almost just work. But the reactivity system is a bit hard to get around because i am use to react way.

Error message: https://paste.cachyos.org/p/2aaae82.txt

According to error message it looks like something is wrong in ChatInput, but the problem is it keep crashing right away.

Component code: https://paste.cachyos.org/p/bbbe96c.txt

Using store mainly in order to control the chat input etc. Not sure what is causing the crash, but it happens when i populate the response from the chat.
Was this page helpful?