Untlsn
[h3] [unhandled] TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["X-Error"]
encodeURI and encodeURIComponent work the same in that case
From little testing special characters like /?: aren't throwing this error
So probably encodeURI is slightly better because it encode less characters, but i don't know
5 replies
[h3] [unhandled] TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["X-Error"]
After some digging i find out that this error is more helpful then expected
This error is thrown when i used special letter in message (in my case Polish ł and ą in word "Błąd")
Maybe there is a way to remove X-Error or change it to true like when throwing json with status >= 400?
5 replies
Sugestion for Repeat component
Simple example of how it's work:
https://playground.solidjs.com/anonymous/0f624889-0a40-46d9-85f7-9b45088a1e15
4 replies
dev server pending forever request solid start
Are you useing any async stuff? Maybe one promise is in constant pending state and whole app just wait for it to settle
If yes, then try to add fallback to root suspense. If this fallback is present then it's propably it
Simple example of how constant pending looks like:
https://playground.solidjs.com/anonymous/ae8218b5-3203-4b8f-b938-f7f9c6177173
3 replies