没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
The Ultimate Guide
to React Native
Optimization
2023 Edition
The Ultimate Guide to React Native Optimization
Table of Contents
How This Guide Is Organized 3
Introduction to React Native Optimization 6
Part one
Pay attention to UI re-renders 10
Use dedicated components for certain layouts 26
Think twice before you pick an external library 36
Always remember to use libraries dedicated to the mobile platform 42
Find the balance between native and JavaScript 48
Animate at 60FPS - no matter what 55
Replace Lottie with Rive 66
Optimize your app’s JavaScript bundle 75
Part two
Always run the latest React Native version to access the new features 82
How to debug faster and better with Flipper 93
Avoid unused native dependencies 99
Optimize your application startup time with Hermes 105
Optimize your Android application’s size with these Gradle settings 113
Experiment with the New Architecture of React Native 120
Part Three
Run tests for key pieces of your app 132
Have a working Continuous Integration (CI) in place 143
Don’t be afraid to ship fast with Continuous Deployment 153
Ship OTA (Over-The-Air) when in an emergency 167
Make your app consistently fast 174
Know how to prole iOS 188
Know how to prole Android 196
Thank you 207
Authors 208
The Ultimate Guide to React Native Optimization
How This Guide Is Organized
Optimizing the React Native app is a complex process
where you need to take various aspects into account
– from implementation through using the latest React
Native features to testing and continuous deployment.
This guide is a comprehensive source of tactics, tricks, tips, tools, and
best practices to help you deliver an optimized React Native app.
We not only focus on the technological aspects of React Native opti-
mization. We also underline the impact of each technological aspect
on business continuity.
This guide contains best practices for optimizing:
• Stability
• Performance
• Resource usage
• User experience
• Maintenance costs
• Time-to-market
All these aforementioned aspects have a particular impact on the rev-
enue-generating effectiveness of your apps. Such elements as stabil-
ity, performance, and resource usage are directly related to improving
the ROI of your products because of their positive impact on the user
experience.
With a faster time-to-market, you can stay ahead of your competitors,
whereas an easier and quicker maintenance process will help you re-
duce your spending on that particular process.
4
Organizational part
The Ultimate Guide to React Native Optimization
What this guide looks like
and the topics it covers
This guide is divided into three parts:
The rst part is about improving performance through understanding
the React Native implementation details and knowing how to maximize
them. This part covers the following topics:
1. Pay attention to UI re-renders
2. Use dedicated components for certain layouts
3. Think twice before you pick an external library
4.
Always remember to use libraries dedicated to the mobile platform
5. Find the balance between native and JavaScript
6. Animate at 60FPS - no matter what
7. Replace Lottie with Rive
8. Optimize your app’s JavaScript bundle
The second part is about improving performance by using the latest
React Native features or turning some of them on. This part describes
the following topics:
1.
Always run the latest React Native version to access the latest
features
2. How to debug faster and better with Flipper
3. Avoid unused native dependencies
4. Optimize your Android application startup time with Hermes
5. Optimize your Android application’s size with Gradle settings
6. Experiment with the New Architecture of React Native
5
Organizational part
The Ultimate Guide to React Native Optimization
The third part is about enhancing the stability of the application by
investing in testing and continuous deployment. This part tackles the
following topics:
1. Run tests for key pieces of your app
2. Have a working Continuous Integration (CI) in place
3. Don’t be afraid to ship fast with Continuous Deployment
4. Ship OTA (Over-the-Air) in an emergency
5. Make your app consistently fast
6. Know how to prole iOS
7. Know how to prole Android
The structure of each section looks like this:
Issue
This part describes the main problem with React Native performance.
Solution
This part outlines how that problem may affect your business and what
the best practices are to solve it.
This part focuses on the business benets of our proposed solution.
剩余210页未读,继续阅读
资源评论
Songlcy
- 粉丝: 1003
- 资源: 58
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功