Julio Barros
Julio Barros
Explore posts from servers
SSolidJS
Created by Julio Barros on 11/2/2023 in #support
Running a script in a solid start project
Thanks. I have esModuleInterop set to true and have tried the --esm flag and have tried removing the "type" : module setting but none of that works.
{
"name": "PM2K",
"scripts": {
"dev": "solid-start dev",
"build": "solid-start build",
"start": "solid-start start"
},
"type": "module",
"devDependencies": {
"@types/node": "^20.8.7",
"@types/pg": "^8.10.7",
"drizzle-kit": "^0.19.13",
"esbuild": "^0.19.5",
"postcss": "^8.4.28",
"solid-start-node": "^0.3.7",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"dependencies": {
"@modular-forms/solid": "^0.20.0",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"drizzle-orm": "^0.28.6",
"pg": "^8.11.3",
"solid-bootstrap": "^1.0.18",
"solid-js": "^1.8.1",
"solid-start": "^0.3.7",
"valibot": "^0.19.0"
},
"engines": {
"node": ">=18"
}
}
{
"name": "PM2K",
"scripts": {
"dev": "solid-start dev",
"build": "solid-start build",
"start": "solid-start start"
},
"type": "module",
"devDependencies": {
"@types/node": "^20.8.7",
"@types/pg": "^8.10.7",
"drizzle-kit": "^0.19.13",
"esbuild": "^0.19.5",
"postcss": "^8.4.28",
"solid-start-node": "^0.3.7",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"dependencies": {
"@modular-forms/solid": "^0.20.0",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"drizzle-orm": "^0.28.6",
"pg": "^8.11.3",
"solid-bootstrap": "^1.0.18",
"solid-js": "^1.8.1",
"solid-start": "^0.3.7",
"valibot": "^0.19.0"
},
"engines": {
"node": ">=18"
}
}
5 replies
SSolidJS
Created by Julio Barros on 10/2/2023 in #support
Using signal in child component
Thanks for your help.
10 replies
SSolidJS
Created by Julio Barros on 10/2/2023 in #support
Using signal in child component
Nevermind. I think I figured it out.
10 replies
SSolidJS
Created by Julio Barros on 10/2/2023 in #support
Using signal in child component
And I create the modal like this <NewProjectForm show={show} setShow={setShow} />
10 replies
SSolidJS
Created by Julio Barros on 10/2/2023 in #support
Using signal in child component
<Modal show={props.show()} onHide={() => { console.log("In onHide"); props.setShow(false); }} size="lg" aria-labelledby="contained-modal-title-vcenter" centered >
10 replies
SSolidJS
Created by Julio Barros on 10/2/2023 in #support
Using signal in child component
Sorry I cut and pasted the wrong thing. My modal actually has the code below. I see the console.log but the modal stays up. It should close when 'show' is set to false.
10 replies
SSolidJS
Created by Julio Barros on 10/2/2023 in #support
Using signal in child component
<Button variant="primary" onClick={() => setShow(true)}> Test </Button>
10 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
Ok. Thank you.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
No nothing at all. Is there a way to turn on a verbose mode or anything?
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
I've tried multiple browsers too to see if that was the issue and same story.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
Ha, If I knew that .... I had been working on other parts of the apps and links and rendering work fine and did not notice that events were not being processed. I had added some other modules (which are hard to undo) and updated some things (which I have rolled back) but can't think of what would cause an issue like this or how to diagnose it.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
It renders but no events are processed.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
No, this example does not work in my app. So it is not just the more complicated example. Something with my app is borked. But I don't know how to track it down. There are no error messages or anything.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
Everything renders fine. And I had a similar and more complicated example that was working fine and then it stopped working. I created this simple form to show that the issue was not with my more complicated page.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
It should work and had been working but something broke and I can't tell what it coudl be.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
WTF never fires. Also buttons don't work either. It is like it has stopped sending events.
24 replies
SSolidJS
Created by Julio Barros on 3/10/2023 in #support
Events (oninput on keyup) stopped working?
Thanks for the response. oninput seems to work in the playground and was working fine before. onInput doesn't seem to help unfortunately. Sorry about the formatting. It ended up pasting without the new lines. Is there a way to force it to paste correctly from the web browser version of discord? Thanks again.
24 replies