I have a screen that looks like this:

The Home component is somewhat like below (just for illustration):
function Home()
{
return (
<GridContainer>
<Grid> <LeftPanel> </Grid>
<Grid><RightPanel></Grid>
</GridContainer>
);
}
My LeftPanel component is somewhat like below (just for illustration):
function LeftPanel()
{
const [items, setItems] = useState([]);
const getItemList = async() {
setItems( callRestMethod(url) );
}
useEffect(() => {
(async () => {
await getItemList();
})();
});
return (
<Select>
{items.map( (item) => <MenuItem key={item} value={item}> item </MenuItem>)}
</Select>
);
}
How do I update the Select list items in Left Panel component when I add or delete an item from the RightPanel component?