摘抄自react in action , see chapter4:
直接上图:
DEFINITION Mounting is the process of React inserting your components into the real DOM. Once done, your component is “ready,” and it’s often a good time to do things like perform HTTP calls or read cookies. At this point you’ll also be able to access the DOM element via something called a ref, discussed in future chapters.
标签:DOM,摘抄,lifecycle,react,js,your From: https://www.cnblogs.com/saaspeter/p/17441303.html