How do you show data in FlatList in react-native?

import React, {useEffect,useState} from ‘react’; import {View,Text,StyleSheet} from ‘react-native’; const List = () => { const[post,setPost] = useState([]); useEffect(() => { const url = ‘http://api.duckduckgo.com/?q=simpsons+characters&format=json’; fetch(url). then((res) => res.

Sizin İçin Seçtik  What is ListHeaderComponent?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you show data in FlatList in react native?

import React, {useEffect,useState} from ‘react’; import {View,Text,StyleSheet} from ‘react-native’; const List = () => { const[post,setPost] = useState([]); useEffect(() => { const url = ‘http://api.duckduckgo.com/?q=simpsons+characters&format=json’; fetch(url). then((res) => res.

Sizin İçin Seçtik  What is malloc () in C?

Leave a Reply

Your email address will not be published. Required fields are marked *