在React Native中使用mobx-react-lite和React挂钩来获取函数,可以通过以下步骤实现: 1. 首先,确保你已经安装了React Native和mobx-react-lite...
import React, { useContext, useEffect, useState } from 'react' import { ActivityIndicator, FlatList, Platform, StyleSheet, View } from 'react-native' import DataStore from '../mobx/DataStore' import { autorun } from 'mobx' import { ChartsHeader, CryptoItem, IconsHeader, ProjectStatusBar } fro...