lumenian
lumenian
SSolidJS
Created by lumenian on 11/23/2023 in #support
<Show> with number | null
What is the recommended way of using the Show component to conditionally render a number that can possibly be null? Currently, if you do the following, the number won't be rendered if its value is zero.
<Show when={nullableValue()}>
{(value) => <>{value()}</>}
</Show>
<Show when={nullableValue()}>
{(value) => <>{value()}</>}
</Show>
12 replies
SSolidJS
Created by lumenian on 2/15/2023 in #support
Scrolling to id is not consistent
Clicking a <A href="/#some_id"> link does nothing if the current route already matches the link completely. Is there a way to fix this behavior, so clicking the link on the same page repeatedly would scroll the element into view?
5 replies