skip to Main Content

Javascript – How to pass value to another file?

How to pass value of 'row' to EditRecord (child file)? Once I'm on EditRecord page, the props (record) of the parent's file's gone. Parent File: const [record, setRecord] = React.useState({}); return ( <TableBody> {stableSort(props.data, getComparator(order, orderBy)) .slice(page * rowsPerPage, page…

VIEW QUESTION
Back To Top
Search