Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

React-native suppress the warning "VirtualizedLists should never be nested"

import React, { useEffect } from 'react';
import { LogBox } from 'react-native';

useEffect(() => {
    LogBox.ignoreLogs(['VirtualizedLists should never be nested']);
}, [])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #suppress #warning
ADD COMMENT
Topic
Name
4+2 =