文件最后提交记录最后更新时间
docs: turn off the obfuscation feature. Co-authored-by: 谢代荣<xiedairong@huawei.com> # message auto-generated for no-merge-commit merge: !1770 merge master-docs into master docs: turn off the obfuscation feature. Created-by: xiedrsz Commit-by: 谢代荣 Merged-by: huangyouhua Description: docs: turn off the obfuscation feature. See merge request: openharmony-sig/ohos_react_native!17706 个月前
fix: version in release note & node version Co-authored-by: gyange<gyange@163.com> # message auto-generated for no-merge-commit merge: !2076 merge master into master fix: version in release note & node version Created-by: gyange Commit-by: gyange Merged-by: openharmony_ci Description: <!-- 请在合并之前删除注释代码,以避免将其包含在GIT历史记录中 --> # 描述 <!-- 简要描述PR的目的,例如: 这条PR主要实现metro局域网内远程调试的功能. --> # 变更日志 <!-- 列出可包含在变更日志中的要点的主要变更。 不要列出内部更改。请以下列开头来写每个变更点: - added - fixed - deprecated - removed 如果是一条新增属性的变更,则以[added]开头,例如: - [added] FlatList组件新增inverted属性 --> # 测试步骤 <!-- 如何测试这条PR。例如: 1. 打开Tester工程. 2. 执行npm run start命令. ... --> # 合入前自检 <!-- 请在合入前根据以下条例进行自检 自检完成后在[ ]内填入"x", 例如: - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 --> - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 - [x] 不涉及性能或已进行性能测试且无性能劣化。 - [x] 符合对应的编码规范。 - [x] 不涉及文档更新,或已更新了文档。 - [ ] 针对可测试性要求,已增加必要的自测用例、合理的日志记录或Trace信息。 - [ ] 不存在非法的文件引入,包括图片和代码等 - [ ] 本PR已经在77分支开启PR或不需要在77分支合入 - 如需合入77分支,PR地址: See merge request: openharmony-sig/ohos_react_native!20764 个月前
update home_fluency Signed-off-by: Galen wei <1947612015@qq.com> 1 年前
fix home_fluency readme Co-authored-by: huangyirong<huangyirong1@huawei.com> # message auto-generated for no-merge-commit merge: merge master into master fix home_fluency readme Created-by: hyryyds Commit-by: huangyirong Merged-by: huangyouhua Description: **IssueNo**: https://gitcode.com/openharmony-sig/ohos_react_native/issues/841 **Description**: 修复home_fluency的readme工程启动步骤 **Feature or Bugfix**: - [ ] Feature - [x] Bugfix **Binary Source**: - [x] No - [ ] Yes **预测试**: - [x] Pass - [ ] Fail - [ ] 评估不涉及 ![image.png](https://raw.gitcode.com/user-images/assets/4370111/0655cc37-dfd3-41de-8dfd-b5ce924da00a/image.png 'image.png') **合入前自检**: - [x] 不涉及非法兼容性变更;若涉及,已通过相应评审。 - [x] 不涉及性能或已进行性能测试且无劣化。 - [x] 符合对应的编码规范。 - [x] 不涉及文档更新,或已更新了文档。 - [x] 针对可测试性要求,已增加必要的自测用例、合理的日志记录或Trace信息 - [x] 不存在非法的文件引入,包括图片和代码等。 - [x] 对用户呈现的界面已做国际化处理。 See merge request: openharmony-sig/ohos_react_native!116711 个月前
fix home_fluency readme Co-authored-by: huangyirong<huangyirong1@huawei.com> # message auto-generated for no-merge-commit merge: merge master into master fix home_fluency readme Created-by: hyryyds Commit-by: huangyirong Merged-by: huangyouhua Description: **IssueNo**: https://gitcode.com/openharmony-sig/ohos_react_native/issues/841 **Description**: 修复home_fluency的readme工程启动步骤 **Feature or Bugfix**: - [ ] Feature - [x] Bugfix **Binary Source**: - [x] No - [ ] Yes **预测试**: - [x] Pass - [ ] Fail - [ ] 评估不涉及 ![image.png](https://raw.gitcode.com/user-images/assets/4370111/0655cc37-dfd3-41de-8dfd-b5ce924da00a/image.png 'image.png') **合入前自检**: - [x] 不涉及非法兼容性变更;若涉及,已通过相应评审。 - [x] 不涉及性能或已进行性能测试且无劣化。 - [x] 符合对应的编码规范。 - [x] 不涉及文档更新,或已更新了文档。 - [x] 针对可测试性要求,已增加必要的自测用例、合理的日志记录或Trace信息 - [x] 不存在非法的文件引入,包括图片和代码等。 - [x] 对用户呈现的界面已做国际化处理。 See merge request: openharmony-sig/ohos_react_native!116711 个月前
README.md

Introduction

This example demonstrates a common scenario in app development: a high-performance waterfall flow page, implemented using the RN framework. It leverages techniques like on-demand rendering and component reuse.

Running Effect Screenshot

Page Layout: The page consists of a top search bar, a functional area, and a waterfall layout. The waterfall layout contains live video cards, image cards, and video cards.

Operation Process:

Operation Process:

  1. Ensure the phone is successfully connected to the network;
  2. Pull-to-refresh the page:
    • Step: Perform a pull-down refresh operation when the waterfall layout is at the top.
    • Effect: Trigger a network request, display a loading animation, and once the data is loaded, hide the loading animation and refresh the page content.
  3. Pull-up to load more:
    • Step: Perform a pull-up to load more operation to trigger a network request.
    • Effect: Display the loading animation and prompt "- loading, please wait -". After the data loading is complete, hide the loading animation and loading prompt and display more card content.
  4. Auto-play live video cards:
    • Step: Scroll the waterfall layout to fully display the live video card.
    • Effect: The live video card will automatically start playing.
  5. Quickly return to the top of the page:
    • Action: Click the bottom Home Tab.
    • Effect: The page will automatically scroll back to the top.

Scene Implementation

For a detailed implementation, please refer to High-Performance Waterfall Flow Page with RN Framework.

Project Directory

home-fluency
├── RNHomeFluency   Frontend Project
└── HomeFluency     Native Project

Installation Guide

  1. Replace the version of @react-native-oh/react-native-harmony in RNHomeFluency/package.json, as well as @rnoh/react-native-openharmony in HomeFluency/oh-package.json5 and HomeFluency/entry/oh-package.json5 (optional: upgrade the version);
  2. In RNHomeFluency, run npm i --force to install dependencies, then run npm run dev to generate the bundle file, and npm start to start the Metro service;
  3. Open HomeFluency in DevEco Studio, execute Sync and Refresh Project, and copy and replace RNHomeFluency/HomeFluency/entry into HomeFluency/entry;
  4. Return to DevEco Studio, delete the .cxx and build directories under HomeFluency/entry, and click the Run button on the top right to start the project;
  5. If running with Metro service, you need to execute npm run start in RNHomeFluency and then reopen the application on the device.