ionic-team / ionic-team/ionic-docs

Clarify the point about keeping pages in the DOM

Open
#2,107 0 comments 0 reactions 0 assignees View on GitHub
content
Dominant language
MDX
Stars
621
Forks
3.2k
Avg merge
1d 2h
Merged PRs (30d)
86

Description

**URL**
https://ionicframework.com/docs/react/lifecycle#react-lifecycle-methods

**What is missing or inaccurate about the content on this page?**
There are such words in this paragraph:

> componentDidMount fires the first time a page is displayed, but if you navigate away from the page **Ionic might keep** the page around in the DOM

Can anyone please clarify what does 'might keep' mean? When does Ionic keep the page in the DOM and when doesn't? Can
Ionic remove already kept page from the DOM?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.