瀏覽代碼

Fixed type in docs/Screen Lifecycle page (#6202)

There was a spelling error in 'lifecycle' which is now fixed.
Arvind Pj 5 年之前
父節點
當前提交
4c935924ef
No account linked to committer's email address
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      website/docs/docs-screen-lifecycle.mdx

+ 1
- 1
website/docs/docs-screen-lifecycle.mdx 查看文件

9
 * `componentDidAppear` - called each time a component is revealed to the user
9
 * `componentDidAppear` - called each time a component is revealed to the user
10
 * `componentDidDisappear` - called each time a component is hidden from user's view **as a result of being detached from hierarchy**
10
 * `componentDidDisappear` - called each time a component is hidden from user's view **as a result of being detached from hierarchy**
11
 
11
 
12
-These methods compliment React's liefcycle methods:
12
+These methods compliment React's lifecycle methods:
13
 
13
 
14
 * `componentDidMount` - called once, when a component is attached to hierarchy **for the first time**
14
 * `componentDidMount` - called once, when a component is attached to hierarchy **for the first time**
15
 * `componentWillUnmount` - called once, when a component is destroyed
15
 * `componentWillUnmount` - called once, when a component is destroyed