useRequestClose asks the host to do that; the host owns the decision.
Example
After the order is placed, a “Done” button dismisses the confirmation and hands the shopper back to the conversation.Returns
useRequestClose returns a single function.
requestClose
Design for the Host
Where dismissing a view fits in the view lifecycle
useRequestModal
Open the modal view you later close
useDisplayMode
Request a different layout instead of closing