Skip to content

Commit 0a9e7fd

Browse files
merging all conflicts
2 parents 6845180 + b8b3db7 commit 0a9e7fd

File tree

8 files changed

+149
-17
lines changed

8 files changed

+149
-17
lines changed

content/community/conferences.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ April 24-26 in Helsinki, Finland
1717

1818
[Website](https://react-finland.fi/) - [Twitter](https://twitter.com/ReactFinland)
1919

20-
### ReactJS Girls Conference
20+
### ReactJS Girls Conference {#reactjs-girls-conference}
2121
May 3, 2019 in London, UK
2222

2323
[Website](https://reactjsgirls.com/) - [Twitter](https://twitter.com/reactjsgirls)
@@ -47,12 +47,12 @@ June 21, 2019 Chicago, Illinois USA
4747

4848
[Website](https://reactloop.com) - [Twitter](https://twitter.com/ReactLoop)
4949

50-
### Chain React 2019
50+
### Chain React 2019 {#chain-react-2019}
5151
July 11-12, 2019. Portland, OR, USA.
5252

5353
[Website](https://infinite.red/ChainReactConf)
5454

55-
### React Rally 2019
55+
### React Rally 2019 {#react-rally-2019}
5656
August 22-23, 2019. Salt Lake City, USA.
5757

5858
[Website](https://www.reactrally.com/) - [Twitter](https://twitter.com/ReactRally) - [Instagram](https://www.instagram.com/reactrally/)
@@ -72,6 +72,11 @@ September 13th, 2019. New York, USA
7272

7373
[Website](https://reactnewyork.com/) - [Twitter](https://twitter.com/reactnewyork)
7474

75+
### React Boston 2019 {#react-boston-2019}
76+
September 21-22, 2019 in Boston, Massachusetts USA
77+
78+
[Website](https://www.reactboston.com/) - [Twitter](https://twitter.com/reactboston)
79+
7580
### React India 2019 {#react-india-2019}
7681
September 26-28, 2019 in Goa, India
7782

@@ -379,4 +384,4 @@ April 4-5, 2019 in Kraków, Poland
379384
### React Amsterdam 2019 {#react-amsterdam-2019}
380385
April 12, 2019 in Amsterdam, The Netherlands
381386

382-
[Website](https://react.amsterdam) - [Twitter](https://twitter.com/reactamsterdam) - [Facebook](https://www.facebook.com/reactamsterdam) - [Videos](https://youtube.com/c/ReactConferences)
387+
[Website](https://react.amsterdam) - [Twitter](https://twitter.com/reactamsterdam) - [Facebook](https://www.facebook.com/reactamsterdam) - [Videos](https://youtube.com/c/ReactConferences)

content/docs/getting-started.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@ React के दस्तावेज़ मानते है की आपको
9999

100100
### एडवांस्ड कॉन्सेप्ट्स {#advanced-concepts}
101101

102+
<<<<<<< HEAD
102103
जब आप [मुख्य कॉन्सेप्ट्स](#main-concepts) के साथ सहज महसूस करना शुरू कर दें और React का थोड़ा अभ्यास करलें, हो सकता है आपको एडवांस्ड विषयों में भी दिलचस्पी हों | यह भाग आपको ताकतवर लेकिन कम इस्तेमाल किये जाने वाली React की खासियत जैसे कि [context](/docs/context.html) और [refs](/docs/refs-and-the-dom.html) से आपका परिचय करवाएगा।
104+
=======
105+
Once you're comfortable with the [main concepts](/docs/hello-world.html) and played with React a little bit, you might be interested in more advanced topics. This section will introduce you to the powerful, but less commonly used React features like [context](/docs/context.html) and [refs](/docs/refs-and-the-dom.html).
106+
>>>>>>> b8b3db7acbba117addeea8a7fb86957eb046d7ce
103107
104108
### API रिफरेन्स {#api-reference}
105109

content/docs/hooks-faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ There are a few more heuristics, and they might change over time as we fine-tune
209209

210210
* `componentDidCatch` and `getDerivedStateFromError`: There are no Hook equivalents for these methods yet, but they will be added soon.
211211

212-
### How can I do data fetching with Hooks?
212+
### How can I do data fetching with Hooks? {#how-can-i-do-data-fetching-with-hooks}
213213

214214
Here is a [small demo](https://codesandbox.io/s/jvvkoo8pq3) to get you started. To learn more, check out [this article](https://www.robinwieruch.de/react-hooks-fetch-data/) about data fetching with Hooks.
215215

@@ -654,7 +654,7 @@ function ProductDetails({ fetchProduct })
654654

655655
Note that in the above example we **need** to keep the function in the dependencies list. This ensures that a change in the `productId` prop of `ProductPage` automatically triggers a refetch in the `ProductDetails` component.
656656

657-
### What can I do if my effect dependencies change too often?
657+
### What can I do if my effect dependencies change too often? {#what-can-i-do-if-my-effect-dependencies-change-too-often}
658658

659659
Sometimes, your effect may be using reading state that changes too often. You might be tempted to omit that state from a list of dependencies, but that usually leads to bugs:
660660

content/languages.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
translated_name: বাংলা
2424
code: bn
2525
status: 0
26+
- name: Catalan
27+
translated_name: Català
28+
code: ca
29+
status: 0
2630
- name: German
2731
translated_name: Deutsch
2832
code: de
@@ -99,6 +103,10 @@
99103
translated_name: മലയാളം
100104
code: ml
101105
status: 0
106+
- name: Mongolian
107+
translated_name: Монгол хэл
108+
code: mn
109+
status: 0
102110
- name: Nepali
103111
translated_name: नेपाली
104112
code: ne
@@ -110,7 +118,7 @@
110118
- name: Polish
111119
translated_name: Polski
112120
code: pl
113-
status: 1
121+
status: 2
114122
- name: Portuguese (Brazil)
115123
translated_name: Português do Brasil
116124
code: pt-br

gatsby-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ module.exports = {
5555
maxWidth: 840,
5656
},
5757
},
58+
'gatsby-remark-external-links',
5859
'gatsby-remark-header-custom-ids',
5960
{
6061
resolve: 'gatsby-remark-code-repls',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"gatsby-remark-code-repls": "^2.0.0",
3333
"gatsby-remark-copy-linked-files": "^2.0.0",
3434
"gatsby-remark-embed-snippet": "^3.0.0",
35+
"gatsby-remark-external-links": "^0.0.4",
3536
"gatsby-remark-images": "^2.0.0",
3637
"gatsby-remark-prismjs": "^3.0.2",
3738
"gatsby-remark-responsive-iframe": "^2.0.0",

src/theme.js

Lines changed: 43 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,24 @@ const sharedStyles = {
285285
},
286286

287287
'& h2': {
288-
borderTop: `1px solid ${colors.divider}`,
289-
marginTop: 44,
290-
paddingTop: 40,
288+
'::before': {
289+
content: ' ',
290+
display: 'block',
291+
borderBottom: `1px solid ${colors.divider}`,
292+
paddingTop: 44,
293+
marginBottom: 40,
294+
},
295+
291296
lineHeight: 1.2,
292297

293298
':first-child': {
294-
borderTop: 0,
295-
marginTop: 0,
296-
paddingTop: 0,
299+
'::before': {
300+
content: ' ',
301+
display: 'block',
302+
borderBottom: 0,
303+
paddingTop: 40,
304+
marginTop: -80,
305+
},
297306
},
298307

299308
[media.lessThan('large')]: {
@@ -310,7 +319,12 @@ const sharedStyles = {
310319
},
311320

312321
'& h3': {
313-
paddingTop: 45,
322+
'::before': {
323+
content: ' ',
324+
display: 'block',
325+
paddingTop: 90,
326+
marginTop: -45,
327+
},
314328

315329
[media.lessThan('small')]: {
316330
overflowWrap: 'break-word',
@@ -324,14 +338,25 @@ const sharedStyles = {
324338
},
325339

326340
'& h2 + h3, & h2 + h3:first-of-type': {
327-
paddingTop: 30,
341+
'::before': {
342+
content: ' ',
343+
display: 'block',
344+
paddingTop: 60,
345+
marginTop: -30,
346+
},
328347
},
329348

330349
'& h4': {
350+
'::before': {
351+
content: ' ',
352+
display: 'block',
353+
paddingTop: 100,
354+
marginTop: -50,
355+
},
356+
331357
fontSize: 20,
332358
color: colors.subtle,
333359
lineHeight: 1.3,
334-
marginTop: 50,
335360
fontWeight: 400,
336361
},
337362

@@ -414,6 +439,15 @@ const sharedStyles = {
414439
'& .gatsby-highlight + blockquote': {
415440
marginTop: 40,
416441
},
442+
443+
'& .gatsby-highlight + h4': {
444+
'::before': {
445+
content: ' ',
446+
display: 'block',
447+
paddingTop: 85,
448+
marginTop: -60,
449+
},
450+
},
417451
},
418452
};
419453

yarn.lock

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5499,6 +5499,15 @@ gatsby-remark-embed-snippet@^3.0.0:
54995499
parse-numeric-range "^0.0.2"
55005500
unist-util-map "^1.0.3"
55015501

5502+
gatsby-remark-external-links@^0.0.4:
5503+
version "0.0.4"
5504+
resolved "https://registry.yarnpkg.com/gatsby-remark-external-links/-/gatsby-remark-external-links-0.0.4.tgz#85b98c1e9dacfaa58085319648c904ff3cab42f0"
5505+
dependencies:
5506+
babel-runtime "^6.26.0"
5507+
is-relative-url "^2.0.0"
5508+
unist-util-find "^1.0.1"
5509+
unist-util-visit "^1.1.3"
5510+
55025511
gatsby-remark-images@^2.0.0:
55035512
version "2.0.4"
55045513
resolved "https://registry.yarnpkg.com/gatsby-remark-images/-/gatsby-remark-images-2.0.4.tgz#29894b85b4181527fa34514fb73218c8e7f89129"
@@ -7889,6 +7898,10 @@ lodash.isstring@^4.0.1:
78897898
resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451"
78907899
integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=
78917900

7901+
lodash.iteratee@^4.5.0:
7902+
version "4.7.0"
7903+
resolved "https://registry.yarnpkg.com/lodash.iteratee/-/lodash.iteratee-4.7.0.tgz#be4177db289a8ccc3c0990f1db26b5b22fc1554c"
7904+
78927905
lodash.kebabcase@^4.1.1:
78937906
version "4.1.1"
78947907
resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"
@@ -7984,6 +7997,10 @@ loglevel@^1.4.1:
79847997
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa"
79857998
integrity sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=
79867999

8000+
longest-streak@^1.0.0:
8001+
version "1.0.0"
8002+
resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-1.0.0.tgz#d06597c4d4c31b52ccb1f5d8f8fe7148eafd6965"
8003+
79878004
longest-streak@^2.0.1:
79888005
version "2.0.2"
79898006
resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.2.tgz#2421b6ba939a443bb9ffebf596585a50b4c38e2e"
@@ -8105,6 +8122,10 @@ markdown-escapes@^1.0.0:
81058122
resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.2.tgz#e639cbde7b99c841c0bacc8a07982873b46d2122"
81068123
integrity sha512-lbRZ2mE3Q9RtLjxZBZ9+IMl68DKIXaVAhwvwn9pmjnPLS0h/6kyBMgNhqi1xFJ/2yv6cSyv0jbiZavZv93JkkA==
81078124

8125+
markdown-table@^0.4.0:
8126+
version "0.4.0"
8127+
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-0.4.0.tgz#890c2c1b3bfe83fb00e4129b8e4cfe645270f9d1"
8128+
81088129
markdown-table@^1.1.0:
81098130
version "1.1.2"
81108131
resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.2.tgz#c78db948fa879903a41bce522e3b96f801c63786"
@@ -8967,7 +8988,7 @@ on-headers@~1.0.1:
89678988
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7"
89688989
integrity sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=
89698990

8970-
once@^1.3.0, once@^1.3.1, once@^1.4.0:
8991+
once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0:
89718992
version "1.4.0"
89728993
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
89738994
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
@@ -10588,6 +10609,20 @@ [email protected]:
1058810609
babel-runtime "^6.23.0"
1058910610
fbjs "^0.8.14"
1059010611

10612+
remark-parse@^1.1.0:
10613+
version "1.1.0"
10614+
resolved "http://registry.npmjs.org/remark-parse/-/remark-parse-1.1.0.tgz#c3ca10f9a8da04615c28f09aa4e304510526ec21"
10615+
dependencies:
10616+
collapse-white-space "^1.0.0"
10617+
extend "^3.0.0"
10618+
parse-entities "^1.0.2"
10619+
repeat-string "^1.5.4"
10620+
trim "0.0.1"
10621+
trim-trailing-lines "^1.0.0"
10622+
unherit "^1.0.4"
10623+
unist-util-remove-position "^1.0.0"
10624+
vfile-location "^2.0.0"
10625+
1059110626
remark-parse@^5.0.0:
1059210627
version "5.0.0"
1059310628
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-5.0.0.tgz#4c077f9e499044d1d5c13f80d7a98cf7b9285d95"
@@ -10616,6 +10651,19 @@ remark-retext@^3.1.0:
1061610651
dependencies:
1061710652
mdast-util-to-nlcst "^3.2.0"
1061810653

10654+
remark-stringify@^1.1.0:
10655+
version "1.1.0"
10656+
resolved "http://registry.npmjs.org/remark-stringify/-/remark-stringify-1.1.0.tgz#a7105e25b9ee2bf9a49b75d2c423f11b06ae2092"
10657+
dependencies:
10658+
ccount "^1.0.0"
10659+
extend "^3.0.0"
10660+
longest-streak "^1.0.0"
10661+
markdown-table "^0.4.0"
10662+
parse-entities "^1.0.2"
10663+
repeat-string "^1.5.4"
10664+
stringify-entities "^1.0.1"
10665+
unherit "^1.0.4"
10666+
1061910667
remark-stringify@^5.0.0:
1062010668
version "5.0.0"
1062110669
resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-5.0.0.tgz#336d3a4d4a6a3390d933eeba62e8de4bd280afba"
@@ -10636,6 +10684,14 @@ remark-stringify@^5.0.0:
1063610684
unherit "^1.0.4"
1063710685
xtend "^4.0.1"
1063810686

10687+
remark@^5.0.1:
10688+
version "5.1.0"
10689+
resolved "http://registry.npmjs.org/remark/-/remark-5.1.0.tgz#cb463bd3dbcb4b99794935eee1cf71d7a8e3068c"
10690+
dependencies:
10691+
remark-parse "^1.1.0"
10692+
remark-stringify "^1.1.0"
10693+
unified "^4.1.1"
10694+
1063910695
remark@^9.0.0:
1064010696
version "9.0.0"
1064110697
resolved "https://registry.yarnpkg.com/remark/-/remark-9.0.0.tgz#c5cfa8ec535c73a67c4b0f12bfdbd3a67d8b2f60"
@@ -12328,6 +12384,17 @@ unicode-property-aliases-ecmascript@^1.0.4:
1232812384
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.4.tgz#5a533f31b4317ea76f17d807fa0d116546111dd0"
1232912385
integrity sha512-2WSLa6OdYd2ng8oqiGIWnJqyFArvhn+5vgx5GTxMbUYjCYKUcuKS62YLFF0R/BDGlB1yzXjQOLtPAfHsgirEpg==
1233012386

12387+
unified@^4.1.1:
12388+
version "4.2.1"
12389+
resolved "http://registry.npmjs.org/unified/-/unified-4.2.1.tgz#76ff43aa8da430f6e7e4a55c84ebac2ad2cfcd2e"
12390+
dependencies:
12391+
bail "^1.0.0"
12392+
extend "^3.0.0"
12393+
has "^1.0.1"
12394+
once "^1.3.3"
12395+
trough "^1.0.0"
12396+
vfile "^1.0.0"
12397+
1233112398
unified@^6.0.0, unified@^6.1.5:
1233212399
version "6.2.0"
1233312400
resolved "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz#7fbd630f719126d67d40c644b7e3f617035f6dba"
@@ -12396,6 +12463,14 @@ unist-builder@^1.0.1:
1239612463
dependencies:
1239712464
object-assign "^4.1.0"
1239812465

12466+
unist-util-find@^1.0.1:
12467+
version "1.0.1"
12468+
resolved "https://registry.yarnpkg.com/unist-util-find/-/unist-util-find-1.0.1.tgz#1062bbb6928c7a97c6adc89b53745d4c46c222a2"
12469+
dependencies:
12470+
lodash.iteratee "^4.5.0"
12471+
remark "^5.0.1"
12472+
unist-util-visit "^1.1.0"
12473+
1239912474
unist-util-generated@^1.1.0:
1240012475
version "1.1.2"
1240112476
resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.2.tgz#8b993f9239d8e560be6ee6e91c3f7b7208e5ce25"
@@ -12686,6 +12761,10 @@ vfile-message@^1.0.0:
1268612761
dependencies:
1268712762
unist-util-stringify-position "^1.1.1"
1268812763

12764+
vfile@^1.0.0:
12765+
version "1.4.0"
12766+
resolved "http://registry.npmjs.org/vfile/-/vfile-1.4.0.tgz#c0fd6fa484f8debdb771f68c31ed75d88da97fe7"
12767+
1268912768
vfile@^2.0.0:
1269012769
version "2.3.0"
1269112770
resolved "https://registry.yarnpkg.com/vfile/-/vfile-2.3.0.tgz#e62d8e72b20e83c324bc6c67278ee272488bf84a"

0 commit comments

Comments
 (0)