Closed ghost closed 3 years ago
This appears to be happening if I do the following:
<Boundary onError="{(e) => { window.location.href = '/error'; }}">
{#if something === true}
.....
{/if}
</Boundary>
However, if I do this it works fine
{#if something === true}
<Boundary onError="{(e) => { window.location.href = '/error'; }}">...</Boundary>
{/if}
Thanks for taking the time to repport this. I published a new version that might fix this, feel free to give it a try!
@bgold0 I can't reproduce this with the new version. Please reopen if you still have problems.
Cheers!
So, first off - thank you for creating this.
I do the following
Which works! However, I get the following error which causes a bugsnag report.
So now, by saving my page from freezing, I'm creating more errors.