SolidJSS
SolidJSโ€ข8mo agoโ€ข
22 replies
JOE

Broken reactivity from props

Does createResource not refetch if used like so?
export default function Icon(props: IconifyIconProps) {
    const [local, rest] = splitProps(props, ["icon"]);
    const [data] = createResource(() => getIcon(local.icon));
Was this page helpful?