skip to Main Content

Why does my list of Realm objects loaded into FlatList using realm-react only render if I use the spread operator? – React native

import React from "react" import { initialWindowMetrics, SafeAreaProvider } from "react-native-safe-area-context" import {FlatList, SafeAreaView, Text, View, } from "react-native"; import {colors} from "./theme"; import {LocationRealm} from "./realm/models/LocationRealm"; import RealmContext from './realm/AppRealm'; const { RealmProvider, useQuery } = RealmContext; function App()…

VIEW QUESTION
Back To Top
Search