belst
belst
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
:thinkPepeMath:
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
no more errors in the client console but hmr doesnt seem to work
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
I do get WebSocket server error: Port is already in use (x2) tho when I set it
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
yeah, it's setting vite.server.hmr.port in app.config.ts
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
guess it's vitejs config
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
because I already forward 3000
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
wait, does this set the ws hmr port?
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
thanks
14 replies
SSolidJS
Created by belst on 5/31/2024 in #support
Modify dev server port
ah nice
14 replies
SSolidJS
Created by belst on 3/5/2024 in #support
Vite internal server error expected "}" but found end of file
it's just some static test data. actual data is bigger but not from a file
5 replies
SSolidJS
Created by Kyros on 11/13/2023 in #support
How to use async functions inside of synchronous components?
4 replies
SSolidJS
Created by pronoob on 11/10/2023 in #support
How do I implement authentication?
u dont have to store state on the server if u use a cookie. u can just put the whole state inside the cookie
18 replies
SSolidJS
Created by belst on 10/22/2023 in #support
hmr and WebSockets
when using build + serve it works instantly
7 replies
SSolidJS
Created by belst on 10/22/2023 in #support
hmr and WebSockets
I can console.log(ws) directly after creating it, but the onopen event triggers extremly late or not at all
7 replies
SSolidJS
Created by belst on 10/22/2023 in #support
hmr and WebSockets
it's not in the root component. The issue is, that when I reload or change anything, it takes ages for the socket to connect. if I build then serve, it works instantly everytime.
7 replies
SSolidJS
Created by Revxrsal on 8/3/2023 in #support
question about stores and effects
it is not bound to a component
9 replies
SSolidJS
Created by Revxrsal on 8/3/2023 in #support
question about stores and effects
if you don't care about cleanup (eg the store exists for the whole lifetime of the application) u can just hoist it out and ignore the warning (created outside of createRoot)
9 replies
SSolidJS
Created by musiclover on 7/31/2023 in #support
Should I use <Show>?
solid doesn't have a vdom. so using .map for example instead of <For> would rerun it from scratch and recreate the dom nodes on every signal update. Same would happen with ternary operators if solid wouldn't explicitly handle them and convert them to basically a <Show> equivalent
8 replies
SSolidJS
Created by belst on 7/30/2023 in #support
Avoiding rerenders using `setState + reconcile`
the data processing pipeline also cuts off at around 9 million (Buffer max size reached) so there is a hard limit, it is just very high lol
21 replies
SSolidJS
Created by belst on 7/30/2023 in #support
Avoiding rerenders using `setState + reconcile`
biggest we've seen so far was like 4 million events.
21 replies