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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fd8f-2bc43.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fd8f-2bc43.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?