mvcp_test:

Branch1Tags0

使用 rnt 0.82 分支的25P4进行测试。

1 首先在25P4的工程的package.json中添加:"@shopify/flash-list": "2.1.0"依赖

  • 25P4/package.json
...
    "dependencies": {
        "@babel/preset-typescript": "^7.27.1",
        "@gorhom/portal": "^1.0.14",
        "@react-native-oh/react-native-harmony": "file:./rnoh_package/react-native-oh-react-native-harmony-0.82.1.tgz",
        "@react-native-ohos/react-native-blurhash": "2.2.0-rc.2",
        "@rnoh/testerino": "file:./rnoh_package/testerino/rnoh-testerino-0.0.12.tgz",
        "memfs": "4.17.2",
        "react": "19.1.1",
        "react-native": "0.82.1"
+       "@shopify/flash-list": "2.1.0"
    },
 ...

2 复制 flashlist_mvcp 文件夹到 25P4\rn-tester\examples 目录下

25P4
|── rn-tester
	|── examples
        |── flashlist_mvcp
        	└── MVCPPage.tsx

3 在25P4\rn-tester\utils\RNTesterList.ts 文件中添加配置

const Components: Array<RNTesterModuleInfo> = [
···
+ {
+   key: 'FlashListMVCP',
+    category: 'UI',
+    module: require('../examples/flashlist_mvcp/MVCPPage'),
+ },
···
];

4 正常流程安装运行25P4工程

Introduction

No description

Customize your domain