vue-error-boundary icon indicating copy to clipboard operation
vue-error-boundary copied to clipboard

Not working: Cannot read properties of null (reading 'setupContext')

Open rendomnet opened this issue 1 year ago • 1 comments

when im trying to use it I get "Cannot read properties of null (reading 'setupContext')"

<vue-error-boundary :fall-back="null"></vue-error-boundary>

import VueErrorBoundary from 'vue-error-boundary';

rendomnet avatar Sep 09 '22 08:09 rendomnet

Hey @rendomnet!

Do you have a Codesandbox or something with a reproduction? Given the snippet above -- you'll need to provide a fall-back prop (or you can omit it and utilize the very basic one it ships with) but it cannot be null. Also it'll need child components it wraps in case of error!

dillonchanis avatar Sep 09 '22 11:09 dillonchanis