Max
Max
SSolidJS
Created by Hussein on 9/27/2024 in #support
submission error doesn't show when js is disabled
ah nice thats cool, didn't know worked like that
9 replies
SSolidJS
Created by Hussein on 9/27/2024 in #support
submission error doesn't show when js is disabled
but even then I think if you to run without any js on client you have to go with classic http driven server that just sends resonses to requests, I dont know if you can do that in solid with just server side routing and I would think that means complete page fetching on each change which can work
9 replies
SSolidJS
Created by Hussein on 9/27/2024 in #support
submission error doesn't show when js is disabled
I remember seeing some examples with static generation, but I don't know how well that fits your use case
9 replies
SSolidJS
Created by Hussein on 9/27/2024 in #support
submission error doesn't show when js is disabled
I could be completely wrong, but doesn't solid still need js to hydrate the server rendered content?
9 replies
SSolidJS
Created by ensi on 9/28/2024 in #support
null error
what about the trace?
7 replies
SSolidJS
Created by Max on 9/19/2024 in #support
Force rerender of entire component on prop change
nice thanks, works!
3 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
ah okay thanks, so it makes the entire callback fn rerun? instead of just relying on the nature of signals for granular updates?
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
also idk if you know, or anyone else? how keyed works. Would it only be for primitives? Only time I've seen something with keys in solid was using https://primitives.solidjs.community/package/keyed where you pass name of field to use as key, but would keyed on Show and Switch use the value itself as key?
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
helpful brothaa
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
thanks for all the input
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
I'll have a look
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
yea that's a cool idea
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
but maybe its the smoothest way, like an object {value: <value>}
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
I have similar with boxed values in array etc, but it can be a bit awkard since the callback already returns an accessor, so would be accessor of accessor if pass the value as accessor
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
yes think that's what will have to do
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
I've used similar functions before but think it was just for object types so worked
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
yea that's my whole issue
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
yea but I think it still wont work, that helper function is basically to get a convenient way to get types smoothly and normalize the type checking, but since the value is still false or 0 when it's evaluated it goes to switch fallback. So the issue is as far as i can tell nothing to do with typescript, even in js would cause issues
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
okay nice thanks
28 replies
SSolidJS
Created by Max on 9/6/2024 in #support
Possible to define more specific predicated for when prop on Match or Show
with ternaries it can work fine but I remember I think reading that Show and Switch etc.. are there for several reasons including that ternaries may not work optimially within the reactive scope
28 replies