The docs reference a variable `name` in some copy, but the example code actually uses the var name `user`.  See: https://github.com/react-community/react-navigation/blob/7c1a95d7a90a5fa5a9fbaf8d72c66374a54df06a/docs/guides/Guide-Intro.md