I have no idea what ?.
means. Example:
React.useEffect(() => {
if (route.params?.post) {
// Post updated, do something with `route.params.post`
// For example, send the post to the server
}
}, [route.params?.post]);
It's hard to google the answer. I just see articles on the conditional (ternary) operator.