![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
react-native-uking-fast-image
Advanced tools
Native QRCode and barcode and QRScanner component for React Native SDK
##Introduction
原生图片加载组件,,集成到 iOS 和 Android 。
原生图片加载组件是基于
SDWebImage(IOS) GIT: https://github.com/rs/SDWebImage.git
Glide(android) GIT: https://github.com/bumptech/glide.git
##注:
如果有不对的地方请提交到issues以便解决。
##Installation
###npm or yarn
npm install react-native-uking-fast-image or yarn add react-native-uking-fast-image
##FastImage
###IOS:
在你的项目ios目录下面新建一个Profile文件:
platform :ios, '8.0'
target '你的项目名称' do
pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga/'
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'DevSupport'
]
pod 'RCTFastImageView', path: '../node_modules/react-native-uking-fast-image/ios/'
end
然后在ios目录下 执行 pod install 然后把ios/Pods录下 Pods.xcodeproj添加到 Libraries下
make the following additions to the given files manually:
android/settings.gradle
include ':react-native-uking-fast-image'
project(':react-native-uking-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-uking-fast-image/android')
android/app/build.gradle
dependencies {
...
compile project(':react-native-uking-fast-image')
}
MainApplication.java
On top, where imports are:
import net.muding.uking.rctfastimageview.RCTFastImageViewPackage;
Add the RCTFastImageViewPackage
class to your list of exported packages.
@Override
protected List<ReactPackage> getPackages() {
return Arrays.asList(
new MainReactPackage(),
new RCTFastImageViewPackage()
);
}
##Usage
import FastImage from 'react-native-uking-fast-image';
<FastImage
src="url"
placeholder="占位图片" //占位图片 ios请添加占位图片到项目的资源管理里面,android请添加到你项目的drawable里,占位图片名称最好统一
resizeMode="填充方式"
/>
FAQs
Native QRCode and barcode and QRScanner component for React Native SDK
The npm package react-native-uking-fast-image receives a total of 3 weekly downloads. As such, react-native-uking-fast-image popularity was classified as not popular.
We found that react-native-uking-fast-image demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.