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 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

content
主要语言
MDX
星标
621
派生
3.2k
平均合并
1 天 2 小时
30 天内合并 PR
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 and doesn't describe edge cases.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从现有的 React Lifecycle 页面开始,查看与所报告的重新渲染和生命周期缺口相关的已链接论坛讨论以及 Ionic issue。完成的标准是,该页面能够清楚地说明 Ionic 生命周期的行为,以及 React 组件、视图和选项卡何时会重新渲染,包括已报告的边缘情况。

由索引模型根据 Issue 内容生成。

评估

技术栈
react
领域
documentation, frontend
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。