Commit Graph

2543 Commits

Author SHA1 Message Date
Krzysztof Borowy
03dae5bd0a Reuse images in blog/docs. Remove intends 2017-10-07 13:04:39 +02:00
Krzysztof Borowy
eb42882374 Images for error boundaries 2017-10-06 21:45:28 +02:00
Krzysztof Borowy
1394c0e439 Added error boundaries docs 2017-10-06 21:45:20 +02:00
Brian Vaughn
9c68ee4afd Fixed a couple of oudated things in package.json 2017-10-06 09:56:44 -07:00
Brian Vaughn
1349493721 Small README update 2017-10-06 08:29:07 -07:00
Brian Vaughn
1de4c66dc6 Added some basic Flow types to get things started 2017-10-05 15:33:18 -07:00
Brian Vaughn
8d54bd01a3 Prettier formatted flow-typed and plugins dirs 2017-10-05 08:08:22 -07:00
Brian Vaughn
1da83176da Moved Prettier config to config file 2017-10-05 08:07:32 -07:00
Brian Vaughn
192c429a21 Added missing title and og:url to 1-off pages 2017-10-04 15:31:46 -07:00
Brian Vaughn
5134f71e20 Removed /docs/index redirect from docs/accessibility 2017-10-04 15:31:01 -07:00
Brian Vaughn
eb1994b0d2 Fixes to markdown content/paths 2017-10-04 15:00:37 -07:00
Brian Vaughn
9d9b2021ed Migrated Gatsby website source and config 2017-10-04 14:56:10 -07:00
Brian Vaughn
93aa551f1a Reorganized 'docs' folder 2017-10-04 14:48:45 -07:00
Dan Abramov
a305ded256 Tweak wording based on @landermkerbey's suggestion in #10433#issuecomment-324488168 2017-10-04 21:44:12 +01:00
Yangshun Tay
c6d3f1acfd Fix blog issues that resulted from migration (#11089) 2017-10-04 19:35:29 +01:00
Gustavo Gard
3b0a77dcaf Correct logo url (#11090) 2017-10-04 19:33:39 +01:00
Dominic Gannaway
76b625ba80 Fixes example in Web Components docs (#11039)
* fixes docs on webcomponent

* Update web-components.md
2017-10-04 17:12:36 +01:00
Dan Abramov
cb860f4a5b Update button labels 2017-10-03 17:03:18 +01:00
Yangshun Tay
bddc8a33bf Fix all GitHub issues and PRs query params (#11066) 2017-10-03 16:58:26 +01:00
pyitphyoaung
e506e9c66b Replace hyperlink tag with button tag in tic-tac-toe tutorial and update related references in the tutorial document (#11045) 2017-10-03 08:48:06 -07:00
Bernard Lin
c954924f97 Update conferences (#10781)
* Update conferences

* Update conferences.md
2017-10-03 15:45:30 +01:00
matej
3ef329e9d6 Fixing how to contribute beginner friendly issues GitHub link (#11063)
* Fixing how to contribute beginner friendly issues GitHub link

* Fixing again url for how to contribute beginner friendly issues GitHub link
2017-10-03 13:38:28 +01:00
Flarnie Marchan
5d14fe92b5 [Website] Add titles and labels to iframes and images on Community pages (#11041)
* [Website] Add titles and labels to iframes and images on Community pages

**what is the change?:**
- add titles to all iframes
- add alt tags to images
- add `aria-label` to some links which only have images as contents.

**why make this change?:**
Based on warnings thrown by aXe a11y audit of those pages

**test plan:**
Manual testing

**issue:**
None

* remove redundant alt tags
2017-10-02 16:41:05 -07:00
Ricky Reusser
11bd6395e1 Remove bundle-collapser browserify recommendation (#11051)
* Move bundle-collapser browserify plugin recommendation to a note.

* Remove bundle-collapser note entirely
2017-10-03 00:17:49 +01:00
Brian Vaughn
d2b10ee4e8 Refactored Installation page to no longer use tabs (#11050) 2017-10-02 15:45:48 -07:00
Orjiewuru Kingdom Isaac
f2ebac725e Update react summit Nigeria title (#11046) 2017-10-02 23:15:07 +01:00
Vicky Chijwani
f8dceef015 Docs: add link to DOM Level 3 spec for possible values of key prop (#11042) 2017-10-02 23:13:23 +01:00
Dan Abramov
c17d178053 Fix lint 2017-10-02 18:51:15 +01:00
Yangshun Tay
a6ed7e1ad3 Ensure all external links have consistent behavior (#11012) 2017-10-02 09:52:39 -07:00
Cole Turner
d9415384b2 Clarify implementation of tick() in Lifecycle docs (#11002)
This documentation change clarifies how the method `tick()` relates to the example given in the State and Lifecycle documentation. Why this change is necessary is because it may be confusing for beginners who may mistake `tick()` to be a lifecycle API hook.  To clarify, the verbiage is changed so that it becomes more clear that the method is specific to the component and not the API.
2017-10-02 09:37:05 -07:00
Dan Abramov
b9214493b2 Clarify the IRC channel confusion 2017-10-02 15:30:19 +01:00
John Darryl Pelingo
9b22e92677 Combine rendered Note section (#11026) 2017-10-02 13:47:40 +01:00
Dan Abramov
9b5417dc53 Disambiguate #react and #reactjs IRC channels (#11025) 2017-10-02 13:32:25 +01:00
Goffert van Gool
358674714c Update web-component docs to current standard (#11020)
The documentation example for Web Components uses deprecated Custom Element and Shadow DOM APIs [0]. This change updates the example to the v1 APIs, which are the current standard.

[0] https://developers.google.com/web/fundamentals/web-components/customelements#historysupport
2017-10-02 11:44:57 +01:00
Josh Hawkins
f39926bcb8 Improve docs for select multiple (#9539)
* Readd original select multiple note

* Update forms.md
2017-10-02 00:18:08 +01:00
Greg Myers
7379be383d Update Reference-readme to remove React.DOM (#10999)
`React.DOM` is now Undefined in React 16 so `React.DOM.div` or `React.DOM.button` are no longer possible.
2017-10-01 11:53:00 +01:00
Jason O'Neil
6fdc75b3fe Fix createPortal link in API docs (#11000)
The anchor name is lower case
2017-10-01 11:52:22 +01:00
Dan Abramov
794dc48b14 Fix HTML file download link 2017-09-30 21:10:01 +01:00
Pooya Parsa
e355e348b2 fix(examples/todo): don't submit empty values (#10979) 2017-09-30 08:20:01 -07:00
Dave Garwacke
21c7bf533f chore(docs) Remove extra style tag curly braces (#10973)
Removed an extra quoted set of curly braces..
2017-09-30 08:11:55 -07:00
Joe Critchley
bb00e4d72e [Gatsby] Installation tabs design (#10989) 2017-09-30 07:53:08 -07:00
Eugene Zhlobo
7cd84f6825 Fix anchor links in reference-react documentation (#10975) 2017-09-29 18:44:45 -07:00
skratchdot
9e27f704d7 [Gatsby] "https://facebook.github.io/react/" -> "https://reactjs.org/" (#10970) 2017-09-29 18:43:22 -07:00
Dan Abramov
0911de6a31 Fix note formatting (#10966) 2017-09-29 18:37:35 +01:00
watadarkstar
cdec205fb6 Added unstable_batchedUpdates as breaking change to v16 post (#10954)
* Add breaking change

ReactDOM.unstable_batchedUpdates now only takes one argument.

* Reword

* Update CHANGELOG.md
2017-09-29 13:08:20 +01:00
Joshua
e464c07e7f Use ES6 module instead of commonJS (#10953)
* Use ES6 module instead of commonJS

As far as I know, we're using ES6 modules throughout the docs. For the sake of consistency :)

* Convert all CommonJS requires to ES6 module
2017-09-29 12:24:10 +01:00
Dan Abramov
1459bf4e11 Tweaks to "Introducing JSX" (#10944)
* Tweaks to "Introducing JSX"

* Update introducing-jsx.md

* Update introducing-jsx.md

* Update introducing-jsx.md
2017-09-29 00:32:25 +01:00
Orjiewuru Kingdom Isaac
7d2ce5cc8d Add React Summit Nigeria to the list of conferences. (#10939) 2017-09-28 23:04:59 +01:00
Flarnie Marchan
fb2f44e86f [website] a11y fixes (#10927)
* [Gatsby docs a11y] Add `aria-label` to search input

**what is the change?:**
See title.

**why make this change?:**
There was no label on this input, and screen readers might not have been
able to identify it's purpose.
[The `placeholder` doesn't count as a label.](http://a11yproject.com/posts/placeholder-input-elements/)

**test plan:**
Manually inspected the HTML in the devtools, and ran the aXe a11y audit
tool, and the warning generated by aXe was gone.

**issue:**
Checklist item on list of docs a11y issues -
https://github.com/bvaughn/react/wiki/Gatsby-A11y-Fixes

* [Gatsby Docs a11y] Increase contrast of 'installation' page tabs

**what is the change?:**
Change the dark blue used for the text/background of the tabs on the
'installation' page to a slightly darker blue, which we were already
using for the 'focus' style of the tabs. It looked a bit weird before,
imo, when the 'focus' was darker.

Now the 'focus' style just lightens the border to the new signature
blue.

**why make this change?:**

To add enough contrast that folks who see colors differently can still
decipher the writing on the tabs on this page.

We plan to refactor this page and remove the tabs soon, so not too
worried about making this fix perfect.

**test plan:**
Manual testing - loaded the page and it looks ok, and ran aXe a11y
audit, no more warnings about contrast. :)

(Flarnie will insert a screenshot)

**issue:**
checklist item on https://github.com/bvaughn/react/wiki/Gatsby-A11y-Fixes
2017-09-28 13:57:34 -07:00
Brian Vaughn
54e1e8b273 Gatsby markdown cleanup (#10926)
* Removed unnecessary <script> tags from index.md

* Added gatsby-plugin-twitter rather than embedding <script> tags to load platform.twitter.com
2017-09-28 12:08:40 -07:00