romanobro
romanobro
SSolidJS
Created by romanobro on 7/1/2023 in #support
vanilla js in onMount?
I got help recently about finding a way to import a vanilla javascript file as an independent source https://discord.com/channels/722131463138705510/1116600411311317032 and It worked on the initial load, but using the back button would cause many problems. Now, I have moved to putting lots of plain js in an onMount, which is working well so far, but seems like a bad idea. Does anyone know of any issues that could be caused by that method? to clarify, I am using a library (d3), interacting with dom elements, and using setTimeout to make a recursive call to update a slideshow. This makes it seem to me as if the onMount call never ends. Will that create an issue?
1 replies
SSolidJS
Created by romanobro on 6/9/2023 in #support
using vanilla js with import?
6 replies
SSolidJS
Created by romanobro on 5/10/2023 in #support
cant access global signals inside onMount?
6 replies
SSolidJS
Created by romanobro on 4/1/2023 in #support
Cannot read properties of null (reading 'nextSibling')
19 replies
SSolidJS
Created by romanobro on 3/5/2023 in #support
with-auth unused export
2 replies
SSolidJS
Created by romanobro on 2/21/2023 in #support
Setting innerhtml causes error
8 replies
SSolidJS
Created by romanobro on 2/18/2023 in #support
Tailwind Not applying?
5 replies
SSolidJS
Created by romanobro on 2/9/2023 in #support
show user data based on authorization?
Hello, I understand how I want to log users in and persist login state with localstorage but how would one show the data that is specific to them? Would every component have to render items based on a get request to the database?
2 replies
SSolidJS
Created by romanobro on 1/16/2023 in #support
Solid newbie
I apologize, for this is really a noob question but i have been stumped for a bit, so i guess i'll ask: How do you separate backend and frontend functions in solid? All tutorials and resources I have seen are frontend only or use backend as a service for their apps. I would like to use node.js to build an app. Is this usually done with HTTP requests? Am I missing the point of solidjs? I like the ease of use and speed that comes with solid as someone who wrote their first app with plain javascript and express, but it seems the lines have been blurred now that I want to use a framework.
4 replies