Skip to content

Invariant Violation: View config not found for name div #40

Description

@thidasapankaja

I'm trying to use react-loading on my react-native app. This is my code

import React, { Component } from 'react';
import ReactLoading from 'react-loading';

class Tags extends Component{
  render(){
      return (
        <ReactLoading type='spinningBubbles' color='#03A9F4' />
      );
  }
}

export default Tags;

But I'm getting an error when I run this. This is the console error I'm getting.


Invariant Violation: View config not found for name div

This error is located at:
    in div
    in Loading (at tags.js:7)
    in Tags (at App.js:30)
    in RCTView (at View.js:113)
    in View (at App.js:27)
    in App (created by AwakeInDevApp)
    in RCTView (at View.js:113)
    in View (created by AwakeInDevApp)
    in AwakeInDevApp (at registerRootComponent.js:34)
    in RootErrorBoundary (at registerRootComponent.js:33)
    in ExpoRootComponent (at renderApplication.js:35)
    in RCTView (at View.js:113)
    in View (at AppContainer.js:102)
    in RCTView (at View.js:113)
    in View (at AppContainer.js:122)
    in AppContainer (at renderApplication.js:34)_

Why is that ? Is this an issue or I'm doing something wrong ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions