Can you explain the difference between export/import and provide/inject in Vue3?
// parent
const data = provide('data', ref(0))
// child
const data = inject('data')
// parent
export const data = ref(0)
// child
import { data } from './parent'
I have tested both methods and noticed the performance results are similar. I am curious to understand the distinction between export/import and provide/inject, and which one is more suitable for use in a production project.