ionic-team / ionic-team/ionic-docs

Amend the React Lifecycle page with explicit explanations about Ionic lifecycle and re-rendering of components

オープン
#1,953 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
content
主要言語
MDX
スター
621
フォーク
3.2k
平均マージ
1日 2時間
マージ済み PR(30日)
86

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。