Skip to content
Proyek

Tentang

Pustaka grafik untuk React Native yang berfokus pada performa dan kustomisasi.

Data dan analisis

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+3
dalam 15 hari
+6
dalam 1 bulan
+5

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Victory Native

high-performance charts powered by D3, Skia, and Reanimated for React Native.

weekly downloads current version build status Maintenance Status

 

Installation

Requires React 19+, React Native 0.79+ with the New Architecture, Skia 2.x (2.15.5+), Reanimated 4.x (4.1.7+), Worklets 0.7+, and Gesture Handler 2 or 3. Choose compatible Reanimated and Worklets versions for your React Native version using the Reanimated compatibility table.

yarn add react-native-reanimated@^4.1.7 react-native-worklets "react-native-gesture-handler@^2 || ^3" react-native-skia@^2.15.5

For a bare React Native app, add "react-native-worklets/plugin" last in the plugins list in babel.config.js. Expo's babel-preset-expo configures it automatically. Rebuild your native app after installing the dependencies.

Then install victory-native:

yarn add victory-native

To get started and read more about the API, view the docs here.

Upgrading from the scoped Skia package

Remove @shopify/react-native-skia, install react-native-skia@^2.15.5, and update all Skia imports (including web/headless deep imports and test mocks) to react-native-skia. Do not install both packages: they contain the same native module. Reanimated 3 users must also migrate to Reanimated 4 and Worklets. Chart APIs are unchanged; Skia 3 is not supported by this release.

See the migration guide for the full upgrade steps, Babel configuration, and platform notes.

LICENSE

MIT

Maintenance Status

Active: Nearform is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.

Jelajahi proyek terkait

Memuat…