title: importing firebase to react-native
body: <p>I'm trying to use the firebase in a react native project</p>
  
  <p>I installed the firebase in my project:</p>
  
  <pre><code>npm install --save firebase
  </code></pre>
  
  <p>and I'm importing it into my app.js</p>
  
  <pre><code>import firebase from 'firebase';
  import React, { Component } from 'react';
  import {
    Platform,
    Text,
    View
  } from 'react-native';
  
  type Props = {};
  export default class App extends Component&lt;Props&gt; {
  
    render() {
      return (
        &lt;View &gt;
          &lt;Text&gt;Testando Firebase&lt;/Text&gt;    
        &lt;/View&gt;
      );
    }
  }
  </code></pre>
  
  <p>and then the error is displayed:</p>
  
  <blockquote>
    <p>Objects are not valida as a react child (found: object with
    keys{&amp;&amp;typeof, type, key, ref, props, _owner, _store}). If you meant
    to render a collection of children, use an array instead.</p>
  </blockquote>
  
  <p>but when I remove the import from firebase, the app works perfectly.</p>