Commit Graph

4408 Commits

Author SHA1 Message Date
Hugo Jobling
ca9dc1c1e2 Use imperative tone for suggested commit message (#2050)
This is both widely recommended as the preferred style and also that in which actual commit messages on this project are written.
2019-06-03 11:55:39 -07:00
kyarik
c93286c071 Some fixes to the Accessibility guide (#2047)
Added missing code indentation; removed an extra "an"
determiner in a sentence.
2019-06-02 15:57:50 +03:00
Monica Powell
6e79d0882a Add lang and hreflang to language pages for screen reader UX (#2033)
* Add lang and hreflang for screen reader UX

I wanted to add `lang` and `hreflang` to the link element for translated languages.  `Lang` is used by screen readers to switch language profiles to provide the correct accent and pronunciation.

>If you have multiple versions of a page for different languages or regions, tell Google about these different variations. Doing so will help Google Search point users to the most appropriate version of your page by language or region.
> Note that even without taking action, Google might still find alternate language versions of your page, but it is usually best for you to explicitly indicate your language- or region-specific pages.

Source: https://support.google.com/webmasters/answer/189077?hl=en

* add hrefLang and Lang attributes

* add alternate pages to head

* Apply suggestions from code review

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>

* mark english hreflang as x-default

* make english the default on the languages page

* rethink default-x
2019-05-29 21:30:56 +03:00
Brendan Falkowski
23b242edc4 Say "disconnecting" not "plugging out" your mouse (#2037)
The previous phrase "plugging out" is uncommon in English. Saying "disconnecting" is better than "unplugging" because many mouse users have wireless mice, and is more accurate.
2019-05-25 15:48:27 -07:00
Angelos Orfanakos
2dccf4699d Remove redundant "reading" word from hooks faq (#2036) 2019-05-25 10:44:12 -07:00
App Generator
04f3dc58db Added AppSeed App Generator to the list (#2030)
AppSeed is a FullStack Web App Generator that allows you to choose a visual theme and apply it on a full, but flexible, technology stack in just a few minutes. The app generator can be used without an account. Read more: https://AppSeed.us
2019-05-23 22:53:39 +03:00
Ilkwon Sim
57b6d76841 Fix wrong sentences line break 2019-05-23 17:00:03 +09:00
Max Wizard K
1f27bba948 Updating link to the article about React internals (#2022) 2019-05-22 12:00:52 +01:00
Gavin Elster
8d9b002130 Fix typo (#2021)
* Fix typo

Adds a missing word

* Update content/docs/hooks-faq.md

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
2019-05-22 13:34:04 +03:00
Gavin Elster
dda5b49f45 Swap word order (#2020)
Figure this was a typo
2019-05-21 21:22:58 +03:00
adam klein
7b217c7010 Add ReactNext 2019 (#2019) 2019-05-20 14:42:29 +01:00
Carston Henderson
d3d7d55750 Change 'operator' to 'method' (#2016)
I believe `.slice()` is an array prototype method, rather than an operator.
2019-05-20 11:23:10 +03:00
Benjamin Dunphy
d05c83b7ab Add Real World React to meetups.md (#2012)
Add Real World React (San Francisco) meetup group
2019-05-19 11:59:47 +03:00
Niklas Mollenhauer
e12c973cf1 Update core-js includes (#2007)
The path seem to have changed in the latest `core-js` package. https://github.com/zloirock/core-js/tree/master/packages/core-js
2019-05-18 14:27:44 +03:00
Matthew
8e6343b5a6 Fix broken webpack production guide link in "Optimizing Performance" page. (#2011) 2019-05-18 14:24:50 +03:00
Misha Moroshko
b3d4fe5efb Keep hook links consistent (#1323) 2019-05-18 14:22:00 +03:00
Cloudspider
10e375dacb Add React Live, The Netherlands (#2006)
Takes place 13th of September
2019-05-18 14:21:01 +03:00
Tajammul Pasha
2d664c178a fixed svelte-js broken link (#2010) 2019-05-17 21:53:35 -07:00
Brent
06deefa567 Update hooks-effect.md (#2005) 2019-05-16 13:35:06 -07:00
Tejas Kumar
a03df074ee Update conferences.md (#2002)
This PR updates the page to be more current.
2019-05-16 13:20:26 +03:00
George Véras Valentim
dd79941caf Add canonical url to the head section (#1987) 2019-05-15 18:24:20 -07:00
Aaron Mast
d2d2ee420d Fix useReducer example (#1992) 2019-05-14 10:10:25 +03:00
Alex Krolick
c8703314dd update faq on perf with function props (#1994) 2019-05-13 22:46:23 -07:00
Kent C. Dodds
b91049c057 inputs array > dependencies array (#1957)
* inputs array > dependencies array

I think initially this was referred to as the "inputs array" in the docs, then it was changed to the "dependencies array" everywhere except it looks like a few were missed.

* inputs array > dependencies array

I think initially this was referred to as the "inputs array" in the docs, then it was changed to the "dependencies array" everywhere except it looks like a few were missed.
2019-05-09 10:35:27 -07:00
Peng Jie
a211417f66 fix(terms): treeshaking -> tree shaking (#1977) 2019-05-07 14:47:32 +03:00
Dan Abramov
ad6687e25e Simplify the observer example 2019-05-06 03:05:28 +01:00
0xnoob
b1691780aa previous page link not linking to previous page, but to the second last. (#1959)
* previous page link is not linking to the previous page, but to the second last.

The example code is on both, the `Introducing Hooks` as well as `Hooks at a Glance` page, but the linked page is the `Introducing Hooks` and I think that's the right one (the `Hooks at a Glance` page probably got added later?).

Not sure about the phrasing so, having "introduce" twice in one sentence ...

* Update content/docs/hooks-state.md

Co-Authored-By: 0xnoob <49793844+0xnoob@users.noreply.github.com>


Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-05-03 15:05:10 +03:00
Nat Alison
b8b3db7acb Update languages.yml for Polish completion
Also add Mongolian and Catalan.
2019-04-28 21:18:29 -07:00
0xnoob
8c39db7f07 Broken anchor link in Advanced Concepts. (#1951)
The link should probably either go to directly to the beginning of main concepts (which is what my proposes change does), or to the anchor  -tag of "Step-by-Step Guide" (#step-by-step-guide). There is no other link in the article which refers to another anchor-tag, that's why I chose to directly link to the main-concepts.
2019-04-28 23:36:09 +03:00
Abdelrahman Rifai
0097b38994 Fix anchor link offset with fixed header (#1914)
* Fix anchor link offset with fixed header

* handle h3 too

* h4 as an anchor

* don't affect UI by any means

* no need for px

* more fixes

* consistency

* more consistency

* pixel perfection

* fix h4 after gatsby-highlight

* final touch
2019-04-27 22:20:14 +03:00
Alexey Pyltsyn
066479b69a Generate ids for new headers 2019-04-27 22:13:12 +03:00
Eric
4daa36b293 adds React Boston 2019 to conference page (#1948)
* add React Boston 2019 to conference page

* add massachusetts to react-boston listing
2019-04-26 22:26:58 +03:00
Dante Calderón
1ed0ecb989 Open external links in a new Tab (#1380)
Add this functionality with gatsby-remark-external-links plugin
2019-04-26 21:43:02 +03:00
Nat Alison
4244fc6466 Update languages for Ukrainian completion. 2019-04-24 13:56:37 -07:00
ANOTHER GUY
6bc6e7b141 Fix the link so that it navigates to anchor rather (#1816)
* Fix the link so that it navigates to anchor rather

* Update create-a-new-react-app.md
2019-04-24 09:43:11 +03:00
shu_numata
29fbb99029 Fix typo reccommended -> recommended (#1879) 2019-04-24 09:41:01 +03:00
Camilo Giraldo
f4a67ffdfb Fix for 1874 broken link (#1902) 2019-04-24 09:39:54 +03:00
Shreyans Jain
8e0a8af045 Update link for "import SVG as a component" (#1360) 2019-04-24 09:31:27 +03:00
Lokesh Kumar
a2d69c68ae Update create-a-new-react-app.md (#1400)
Fixes typo flexiblity
2019-04-24 09:19:42 +03:00
renato
621f4c87bd lowercase link to React.createElement section (#1509) 2019-04-24 09:14:39 +03:00
Quentin Bahers
dcfc0bbb10 Fix the "Releases" link in the "Getting Started" page (#1530) 2019-04-24 09:12:33 +03:00
Michaël De Boey
dd6317f3bd Update 2019-02-06-react-v16.8.0.md (#1634)
You can just normal install `eslint-plugin-react-hooks`
2019-04-24 09:07:53 +03:00
José Antonio Chio
7be4caf210 Update ESLint Plugin installation command (#1758) 2019-04-24 09:02:43 +03:00
BrainBoxBrown
59be66f3a8 Changed unicode hyphen to normal hyphen (#1927)
When copy and pasting `npm install jest-cli —save-dev` you get this error
`Invalid tag name "—save-dev": Tags may not have any characters that encodeURIComponent encodes`

I replaced the unicode characters '—' with ascii hypens '-'
2019-04-24 08:57:49 +03:00
Stepan
f0d1a01120 links Get started and Take the Tutorial have been relocated in mobile… (#1857) 2019-04-23 20:48:21 +03:00
Juho Vepsäläinen
a14c5b949c docs: Add React Finland 2019 (#1934) 2019-04-23 12:07:30 +03:00
Sunil Pai
2aa3c54e08 Update addons-shallow-compare.md (#1924) 2019-04-15 09:44:46 -07:00
Robert Haritonov
d211df8929 Update 2019 conferences list (#1898)
* Update 2019 conferences list 

Add React Advanced, React Day Berlin 2019. Sort passed conferences.

* add missing year to React Advanced 2019
2019-04-15 08:40:48 +02:00
Radoslav Stankov
1fc2dfe919 add React.NotAConf to the conferences list (#1920) 2019-04-14 09:40:30 +02:00
Camilo Giraldo
2a1b08943c Fix 1640: Formatting for code blocks nested in blockquote (#1899) 2019-04-03 12:51:42 -07:00