Chronove
Solid Start Route for simple redirect
If the html/css part is an issue, why not straight up use an api route?
Ex. src/routes/getRandom.ts
API Routes should run on the server afaik
4 replies
Passing For Id between InputGroup and Input using children
- Element props should not be destructured, else they will lose reactivity
- You c/s-hould use the error render as a fallback (it's an attribute of the Show Element)
- instead of creating your own
forId
you should use createUniqueId()
(https://www.solidjs.com/docs/latest/api#createuniqueid) or even just a createMemo
instead of a signal which never gets changed
For the error you're getting, I don't know the types of child
or InputGroupProps
so I can only guess that the types aren't correct, as you're error "Property props does not exist..." sounds like a typescript error to me.6 replies