Commit Graph

4383 Commits

Author SHA1 Message Date
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
Parker Bond
c7dde3d237 Add Chain React to conferences list (#1900)
Chain React is a React Native focused conference put on yearly. This will be the 3rd year it has been held.
2019-04-03 20:31:06 +01:00
Nat Alison
8de5aff111 Update languages.yml to show italian finishing 2019-04-01 23:53:19 -07:00
Wojtek
59c3c0a155 Fix explanation of the useState example in 'Hooks API Reference' page (#1881) 2019-03-29 12:05:00 -07:00
Saransh Kataria
d0f2db967a removed sentence since functions can have state (#1878)
With introduction of hooks, that statement is not valid anymore
2019-03-28 15:51:37 -07:00
Dan Abramov
2753191ee2 Bump React versions 2019-03-28 00:17:49 -07:00
Nat Alison
c6f99a6d9a Add kannada to languages 2019-03-27 19:16:47 -07:00
Nat Alison
4541a8ff10 Update languages.yml 2019-03-27 19:15:43 -07:00
Ahmad Awais ⚡️
2304fa1a7c 📦 NEW: Add React.js Lahore Meetup Group (#1873)
This PR adds a relatively new sub-meetup-group of a Cloud Developers meetup group in the city of Lahore.
2019-03-26 12:36:15 -07:00
pavan
6faeeb809f Adding immer in the list of immutable libraries (#1839)
* Adding immer in the list of immutable libraries

* Update optimizing-performance.md
2019-03-26 05:58:15 +00:00
pixelyunicorn
a1a7ec3a04 Added RQ React meetup in Philadelphia (#1866) 2019-03-26 05:56:24 +00:00
Dan Abramov
448b7f1a20 Remove ReactNYC meetup from the list 2019-03-25 22:49:13 -07:00
Jenn Creighton
ee4188ba07 remove ReactWeek from Conference list (#1864) 2019-03-25 14:07:34 -07:00
Saransh Kataria
e744030ad0 removed line as functions can have state now too (#1783)
* removed line as functions can have state now too

* removed this.setState line from docs
2019-03-25 12:41:48 -07:00
Nat Alison
1f2dbb7a4f Update languages for Simplified Chinese completion (#1854)
* Update languages for Simplified Chinese completion

* Update languages.yml
2019-03-20 13:03:43 -07:00
Dan Abramov
b1bc193dba Document useContext bailout strategy (#1848) 2019-03-19 22:09:21 +00:00
Dan Abramov
ac4aa6546e Add more explanations to Hooks API page (#1845)
* Add more explanations to API page

* static

* add info about useLayoutEffect

* Update content/docs/hooks-reference.md

Co-Authored-By: gaearon <dan.abramov@gmail.com>

* nits

* nit
2019-03-19 17:12:44 +00:00
Dan Abramov
806da34988 Add a DOM measurement recipe to Hooks FAQ (#1843)
* Add a DOM measurement recipe to Hooks FAQ

* Update content/docs/hooks-faq.md

Co-Authored-By: gaearon <dan.abramov@gmail.com>

* Update content/docs/hooks-faq.md

Co-Authored-By: gaearon <dan.abramov@gmail.com>
2019-03-19 15:28:18 +00:00
Brian Mitchell
905a1134c0 Add React Rally 2019 (#1840) 2019-03-18 10:24:24 -07:00
Arthur Denner
877431a60b Fix previous article on hooks-effect.md (#1802)
Hi! 👋 

This PR only fixes the `Previous article` link on [this page](https://reactjs.org/docs/hooks-effect.html).

Once this get merged, do I need to open a similar PR in each one of the translation repos?
2019-03-17 14:08:17 -07:00
Nelson Reitz
1fe2e0ae29 Fix overflowing headers on small screens (#1830) 2019-03-15 14:04:19 +00:00
Dimitar Nestorov
40bbbd5b10 Updating useMemo docs (#1796)
https://codesandbox.io/s/4x68k8nrw
2019-03-14 14:49:11 +00:00
Manuel Bieh
3e489fc2f9 Fixing incorrect value for eslint rule (#1824)
The name for the "warning" level in ESLint is `warn` not `warning` (https://eslint.org/docs/user-guide/configuring#configuring-rules)
2019-03-13 17:09:09 -07:00
Dan Abramov
352c3ff01f Fix example 2019-03-13 18:24:10 +00:00
Dan Abramov
877b189758 Fix wording 2019-03-13 15:46:05 +00:00
Dan Abramov
474de38b2c Use another example 2019-03-13 15:42:01 +00:00