-
-
Notifications
You must be signed in to change notification settings - Fork 468
Sync with reactjs.org @ b1691780 #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
1ed0ecb
4daa36b
066479b
0097b38
8c39db7
b8b3db7
b169178
973f6f1
08db893
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,11 @@ prev: hooks-overview.html | |
|
||
*Hook*은 React 16.8버전에 새로 추가되었습니다. Hook은 클래스 컴포넌트를 작성하지 않아도 state와 같은 특징들을 사용할 수 있습니다. | ||
|
||
<<<<<<< HEAD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This must be fixed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
[이전 페이지](/docs/hooks-intro.html)에서 아래의 예시를 통해 Hook을 소개했습니다. | ||
======= | ||
The [introduction page](/docs/hooks-intro.html) used this example to get familiar with Hooks: | ||
>>>>>>> b1691780aa3178d39694264863210d34ad5a5f81 | ||
|
||
```js{4-5} | ||
import React, { useState } from 'react'; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5844,6 +5844,15 @@ gatsby-remark-embed-snippet@^3.0.0: | |
parse-numeric-range "^0.0.2" | ||
unist-util-map "^1.0.3" | ||
|
||
gatsby-remark-external-links@^0.0.4: | ||
version "0.0.4" | ||
resolved "https://registry.yarnpkg.com/gatsby-remark-external-links/-/gatsby-remark-external-links-0.0.4.tgz#85b98c1e9dacfaa58085319648c904ff3cab42f0" | ||
dependencies: | ||
babel-runtime "^6.26.0" | ||
is-relative-url "^2.0.0" | ||
unist-util-find "^1.0.1" | ||
unist-util-visit "^1.1.3" | ||
|
||
gatsby-remark-images@^2.0.0: | ||
version "2.0.4" | ||
resolved "https://registry.yarnpkg.com/gatsby-remark-images/-/gatsby-remark-images-2.0.4.tgz#29894b85b4181527fa34514fb73218c8e7f89129" | ||
|
@@ -8409,6 +8418,10 @@ lodash.isstring@^4.0.1: | |
resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" | ||
integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= | ||
|
||
lodash.iteratee@^4.5.0: | ||
version "4.7.0" | ||
resolved "https://registry.yarnpkg.com/lodash.iteratee/-/lodash.iteratee-4.7.0.tgz#be4177db289a8ccc3c0990f1db26b5b22fc1554c" | ||
|
||
lodash.kebabcase@^4.1.1: | ||
version "4.1.1" | ||
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36" | ||
|
@@ -8527,6 +8540,10 @@ loglevel@^1.4.1: | |
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa" | ||
integrity sha1-4PyVEztu8nbNyIh82vJKpvFW+Po= | ||
|
||
longest-streak@^1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-1.0.0.tgz#d06597c4d4c31b52ccb1f5d8f8fe7148eafd6965" | ||
|
||
longest-streak@^2.0.1: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.2.tgz#2421b6ba939a443bb9ffebf596585a50b4c38e2e" | ||
|
@@ -8653,6 +8670,10 @@ markdown-escapes@^1.0.0: | |
resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.2.tgz#e639cbde7b99c841c0bacc8a07982873b46d2122" | ||
integrity sha512-lbRZ2mE3Q9RtLjxZBZ9+IMl68DKIXaVAhwvwn9pmjnPLS0h/6kyBMgNhqi1xFJ/2yv6cSyv0jbiZavZv93JkkA== | ||
|
||
markdown-table@^0.4.0: | ||
version "0.4.0" | ||
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-0.4.0.tgz#890c2c1b3bfe83fb00e4129b8e4cfe645270f9d1" | ||
|
||
markdown-table@^1.1.0: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.2.tgz#c78db948fa879903a41bce522e3b96f801c63786" | ||
|
@@ -9589,7 +9610,7 @@ on-headers@~1.0.1: | |
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" | ||
integrity sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c= | ||
|
||
once@^1.3.0, once@^1.3.1, once@^1.4.0: | ||
once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0: | ||
version "1.4.0" | ||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" | ||
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= | ||
|
@@ -11267,13 +11288,29 @@ [email protected]: | |
babel-runtime "^6.23.0" | ||
fbjs "^0.8.14" | ||
|
||
<<<<<<< HEAD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This must be fixed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
remark-frontmatter@^1.2.0: | ||
version "1.3.1" | ||
resolved "https://registry.yarnpkg.com/remark-frontmatter/-/remark-frontmatter-1.3.1.tgz#bc28c0c913fa0b9dd26f17304bc47b856b2ea2de" | ||
integrity sha512-Zj/fDMYnSVgMCeKp8fXIhtMoZq4G6E1dnwfMoO8fVXrm/+oVSiN8YMREtwN2cctgK9EsnYSeS1ExX2hcX/fE1A== | ||
dependencies: | ||
fault "^1.0.1" | ||
xtend "^4.0.1" | ||
======= | ||
remark-parse@^1.1.0: | ||
version "1.1.0" | ||
resolved "http://registry.npmjs.org/remark-parse/-/remark-parse-1.1.0.tgz#c3ca10f9a8da04615c28f09aa4e304510526ec21" | ||
dependencies: | ||
collapse-white-space "^1.0.0" | ||
extend "^3.0.0" | ||
parse-entities "^1.0.2" | ||
repeat-string "^1.5.4" | ||
trim "0.0.1" | ||
trim-trailing-lines "^1.0.0" | ||
unherit "^1.0.4" | ||
unist-util-remove-position "^1.0.0" | ||
vfile-location "^2.0.0" | ||
>>>>>>> b1691780aa3178d39694264863210d34ad5a5f81 | ||
|
||
remark-parse@^5.0.0: | ||
version "5.0.0" | ||
|
@@ -11303,6 +11340,19 @@ remark-retext@^3.1.0: | |
dependencies: | ||
mdast-util-to-nlcst "^3.2.0" | ||
|
||
remark-stringify@^1.1.0: | ||
version "1.1.0" | ||
resolved "http://registry.npmjs.org/remark-stringify/-/remark-stringify-1.1.0.tgz#a7105e25b9ee2bf9a49b75d2c423f11b06ae2092" | ||
dependencies: | ||
ccount "^1.0.0" | ||
extend "^3.0.0" | ||
longest-streak "^1.0.0" | ||
markdown-table "^0.4.0" | ||
parse-entities "^1.0.2" | ||
repeat-string "^1.5.4" | ||
stringify-entities "^1.0.1" | ||
unherit "^1.0.4" | ||
|
||
remark-stringify@^5.0.0: | ||
version "5.0.0" | ||
resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz#336d3a4d4a6a3390d933eeba62e8de4bd280afba" | ||
|
@@ -11323,6 +11373,14 @@ remark-stringify@^5.0.0: | |
unherit "^1.0.4" | ||
xtend "^4.0.1" | ||
|
||
remark@^5.0.1: | ||
version "5.1.0" | ||
resolved "http://registry.npmjs.org/remark/-/remark-5.1.0.tgz#cb463bd3dbcb4b99794935eee1cf71d7a8e3068c" | ||
dependencies: | ||
remark-parse "^1.1.0" | ||
remark-stringify "^1.1.0" | ||
unified "^4.1.1" | ||
|
||
remark@^9.0.0: | ||
version "9.0.0" | ||
resolved "https://registry.yarnpkg.com/remark/-/remark-9.0.0.tgz#c5cfa8ec535c73a67c4b0f12bfdbd3a67d8b2f60" | ||
|
@@ -13173,7 +13231,22 @@ unicode-property-aliases-ecmascript@^1.0.4: | |
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz#5a533f31b4317ea76f17d807fa0d116546111dd0" | ||
integrity sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg== | ||
|
||
<<<<<<< HEAD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This must be fixed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
unified@^6.0.0, unified@^6.1.5, unified@^6.1.6: | ||
======= | ||
unified@^4.1.1: | ||
version "4.2.1" | ||
resolved "http://registry.npmjs.org/unified/-/unified-4.2.1.tgz#76ff43aa8da430f6e7e4a55c84ebac2ad2cfcd2e" | ||
dependencies: | ||
bail "^1.0.0" | ||
extend "^3.0.0" | ||
has "^1.0.1" | ||
once "^1.3.3" | ||
trough "^1.0.0" | ||
vfile "^1.0.0" | ||
|
||
unified@^6.0.0, unified@^6.1.5: | ||
>>>>>>> b1691780aa3178d39694264863210d34ad5a5f81 | ||
version "6.2.0" | ||
resolved "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz#7fbd630f719126d67d40c644b7e3f617035f6dba" | ||
integrity sha512-1k+KPhlVtqmG99RaTbAv/usu85fcSRu3wY8X+vnsEhIxNP5VbVIDiXnLqyKIG+UMdyTg0ZX9EI6k2AfjJkHPtA== | ||
|
@@ -13246,6 +13319,14 @@ unist-builder@^1.0.1: | |
dependencies: | ||
object-assign "^4.1.0" | ||
|
||
unist-util-find@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/unist-util-find/-/unist-util-find-1.0.1.tgz#1062bbb6928c7a97c6adc89b53745d4c46c222a2" | ||
dependencies: | ||
lodash.iteratee "^4.5.0" | ||
remark "^5.0.1" | ||
unist-util-visit "^1.1.0" | ||
|
||
unist-util-generated@^1.1.0: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.2.tgz#8b993f9239d8e560be6ee6e91c3f7b7208e5ce25" | ||
|
@@ -13536,6 +13617,10 @@ vfile-message@^1.0.0: | |
dependencies: | ||
unist-util-stringify-position "^1.1.1" | ||
|
||
vfile@^1.0.0: | ||
version "1.4.0" | ||
resolved "http://registry.npmjs.org/vfile/-/vfile-1.4.0.tgz#c0fd6fa484f8debdb771f68c31ed75d88da97fe7" | ||
|
||
vfile@^2.0.0: | ||
version "2.3.0" | ||
resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This must be fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
08db893