title: React native "fontFamily is not a valid style attribute"
body: <p><a href="https://i.stack.imgur.com/0zXFV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0zXFV.png" alt="error image"></a></p>
  
  <p>I've been getting this error today in my react native/expo project. I have tried clearing cache and re-installing packages, etc. </p>
  
  <p>My package.json is the following: </p>
  
  <pre><code>{
    "name": "empty-project-template",
    "main": "node_modules/expo/AppEntry.js",
    "private": true,
    "scripts": {
      "start": "expo start",
      "android": "expo start --android",
      "ios": "expo start --ios",
      "eject": "expo eject"
    },
    "dependencies": {
      "@firebase/app": "^0.3.4",
      "babel": "^6.23.0",
      "babel-plugin-module-resolver": "^3.1.1",
      "babel-preset-env": "^1.7.0",
      "babel-preset-expo": "^5.0.0",
      "eslint": "^5.8.0",
      "expo": "^31.0.0",
      "expo-cli": "^2.2.5",
      "firebase": "^5.5.7",
      "for": "^0.1.0",
      "lodash": "^4.17.11",
      "me": "^0.3.0",
      "moment": "^2.22.2",
      "react": "^16.6.0",
      "react-native": "^0.57.4",
      "react-native-blur": "^3.2.2",
      "react-native-elements": "^0.19.1",
      "react-native-keyboard-aware-scrollview": "^2.0.0",
      "react-native-material-textfield": "^0.12.0",
      "react-native-platform-touchable": "^1.1.1",
      "react-native-scrollable-tab-view": "^0.9.0",
      "react-native-snap-carousel": "^3.7.5",
      "react-native-swiper": "^1.5.13",
      "react-native-tab-view": "^1.2.0",
      "react-native-vector-icons": "^6.0.2",
      "react-navigation": "^2.18.2",
      "react-redux": "^5.1.0",
      "redux-persist": "^5.10.0",
      "redux-thunk": "^2.3.0",
      "windows": "0.0.8",
      "worked": "^0.0.2",
      "ws": "^6.1.0"
    },
    "devDependencies": {
      "@babel/cli": "^7.1.2",
      "@babel/core": "^7.1.2",
      "@babel/preset-env": "^7.1.0",
      "babel-core": "^7.0.0-bridge.0",
      "babel-plugin-transform-object-rest-spread": "^6.26.0",
      "babel-preset-react": "^6.24.1",
      "redux": "^4.0.1",
      "remote-redux-devtools": "^0.5.13"
    },
    "resolutions": {
      "babel-core": "7.0.0-bridge.0"
    }
  }
  </code></pre>
  
  <p>My use cases for font family are similar to the following:</p>
  
  <pre><code>export default StyleSheet.create({
      container: {
        borderRadius: 4,
        borderWidth: 0.5,
        borderColor: '#d6d7da',
      },
      title: {
        textAlign: 'center',
        fontSize: 30,
        marginBottom: 0,
        fontFamily: 'mainFontBold',
      },
  </code></pre>
  
  <p>where mainFontBold is a custom font loaded in my app.js. This has been working fine before today, and I'm not sure what could have happened to cause this change.</p>
  
  <p>I can't figure out why it would be giving me this error? The expo docs clearly state that fontFamily is a valid style attribute for text, see:</p>
  
  <p><a href="https://facebook.github.io/react-native/docs/text-style-props#fontfamily" rel="nofollow noreferrer">https://facebook.github.io/react-native/docs/text-style-props#fontfamily</a></p>
  
  <p>Does anyone have any idea how I might be able to fix this, or what might be causing this error? Thanks!</p>