Subscribe on changes!

Unhandled error during execution of render function, ref=Ref< undefined > > at <RouterView> at <App>

avatar
Jun 26th 2023

Vue version

3.3.4

Link to minimal reproduction

https://github.com/emanuelmarquis/simple-crud

Steps to reproduce

first add the following snippet to a .js file : let data = ref(await get_data())

then import it into a .vue file, when using the data variable it causes this error.

What is expected?

get data

What is actually happening?

throwing that unexpected error

System Info

microsoft edge

Any additional comments?

No response

avatar
Jun 27th 2023

Your data fetching function is throwing an error =.=

avatar
Jul 4th 2023

yeah, thanks for noticing. I fixed it a couples days ago 😅