How do Vue parent and child components bind arrays in both directions?

just finished learning the basics of Vue, writing a component for uploading video uploader-component , including two sub-components: drag-uploader and select-uploader , respectively, drag and drop files and click to add files. Now I have an array of data : fileArray in the parent component. I want to bind it bidirectionally with the two child components. What should I do?

Nov.29,2021

it is generally not recommended that the child component change the data of the parent component.
the parent-to-child method is passed through props.
when declared in the parent component < child component: val= "fileArray" >, and then to props: {val:String}

in the child component

workarounds for child components to affect data in the parent component can be done with vuex.

Menu