I was wondering if it's possible to have access to entire object inside if/for, but still be able to destructure individual props
{#if object_var} {const {prop_var} = object_var}. <- doesn't work, "unexpected token" display: {prop_var}{/if}
I was wondering if it's possible to have access to entire object inside if/for, but still be able to destructure individual props
{#if object_var} {const {prop_var} = object_var}. <- doesn't work, "unexpected token" display: {prop_var}{/if}