How to display items on screen using search textinput (expo, react-native)
问题 I am using react native and expo. I have some JSON data on the screen (iOS) simulator that was fetched from API. At the top, I have a search bar where users can search the data that is displayed on the screen. For example, if the data is A a company B bcompany A is a company symbol and a company is a symbol name. So when user types A it should display A company and if user type Z it should display Z company. My code: import React, { useState, useEffect } from "react"; import { StyleSheet,