seb
Explore posts from serversUnderstanding Solid Reactivity Lint Error
found the issue! https://playground.solidjs.com/anonymous/b7b46f20-69f9-4896-82ca-89b107aadea3
so it is the case that
addListener
behaves differently from addEventListener
. I am just not certain whether I can safely eslint-ignore this one.7 replies
Understanding Solid Reactivity Lint Error
thank you, @peerreynders!
that
BroadcastChannel
example was a great idea. I was wondering if maybe addEventListener
was a special string that the linter looks for, but I'm also not seeing a lint error when I make this change to your code: https://playground.solidjs.com/anonymous/1ec3207d-67ef-40e6-935f-ae49d71742a7
7 replies
Streaming responses (eg. for streaming ai chat completion text)
Glad to have found that it looks like others are thinking about this feature as well:
- https://github.com/trpc/trpc/pull/4530
- https://github.com/trpc/trpc/pull/4489
- https://github.com/trpc/trpc/issues/4477
Seems like the best option for now is to stream such responses outside of tRPC while waiting for one of those PRs to land. But if there are any better workarounds for now, do let me know!
3 replies
Including solidjs router creates multiple instances of solid
I was using [email protected] and [email protected]. I've upgraded to [email protected], and that seems to have fixed the issue. Thank you!
5 replies