ionic-team / ionic-team/ionic-docs
Amend the React Lifecycle page with explicit explanations about Ionic lifecycle and re-rendering of components
- Ngôn ngữ chính
- MDX
- Star
- 621
- Fork
- 3.2k
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 86
Mô tả
**Is your feature request related to a problem? Please describe.**
I come from the world of classic React web-apps. I've been building an Ionic app for the 1st time during the last 4 weeks. And I was ***really frustrated*** to have A TON of issues with components not re-rendering when expected and Ionic lifecycle hooks not working as expected as well.
Gave Me lots of headache.
https://forum.ionicframework.com/t/obsolete-state-in-useionviewwillenter/210861
https://forum.ionicframework.com/t/page-does-not-re-render-on-tabs-navigation/209746
https://github.com/ionic-team/ionic-framework/issues/23388
**Describe the solution you'd like**
I would like a clear and explicit explanation on when does Ionic re-render components, view, tabs, etc.
For now, the React Lifecycle page is very generic to say the least; is [incomplete](https://github.com/ionic-team/ionic-docs/issues/1949) and doesn't describe edge cases.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the existing React Lifecycle page and review the linked forum discussions and related Ionic issue for the reported re-rendering and lifecycle gaps. Done means the page clearly explains Ionic lifecycle behavior and when React components, views, and tabs re-render, including the reported edge cases.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react
- Lĩnh vực
- documentation, frontend
- Loại issue
- Tài liệu
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100