Skip to content
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

Pull all docs updates from 15-stable into 15.6-dev #9889

Merged
merged 35 commits into from
Jun 7, 2017

Commits on Jun 7, 2017

  1. Fix the proptypes deprecation warning url on the "Don't Call PropType…

    …s Warning" doc page (facebook#9419)
    
    * Use the same prop-types link on the warning docs page as the main proptypes doc page
    
    * Link to repo instead
    gabriellett authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    bef6848 View commit details
    Browse the repository at this point in the history
  2. Docs: Clarification of setState() behavior (facebook#9329)

    * Clarification of setState() behavior
    
    `setState()` is a frequent source of confusion for people new to React, and I believe part of that is due to minimization of the impact of the asynchronous behavior of `setState()` in the documentation. This revision is an attempt to clarify that behavior. For motivation and justification, see [setState Gate](https://medium.com/javascript-scene/setstate-gate-abc10a9b2d82).
    
    * Update reference-react-component.md
    
    * Signature fix
    
    * Update to address @acdlite concerns
    
    * Add more details
    ericelliott authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    6e9e6e7 View commit details
    Browse the repository at this point in the history
  3. Update proptypes doc (facebook#9391)

    * Update proptypes doc
    
    * Removed note
    jackmarchant authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    0478b6d View commit details
    Browse the repository at this point in the history
  4. Add tabs to installation page (facebook#9275, facebook#9277) (faceboo…

    …k#9401)
    
    * Add tabs to installation page (facebook#9275, facebook#9277)
    
    This adds tabs for create-react-app and existing apps to the installation section of the docs. The tab implementation is a simplified version of React Native's installation page.
    
    Fixes facebook#9275.
    
    * Use classList instead of className
    
    * Use same implementation as in RN
    markspolakovs authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    8af2f5c View commit details
    Browse the repository at this point in the history
  5. Refractor docs to indicate that state set to props in constructor wil…

    …l not recieve the updated props (facebook#9404)
    bytetwin authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    0726180 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    97595a3 View commit details
    Browse the repository at this point in the history
  7. Updated the Good First Bug section in readme (facebook#9429)

    * Updated the Good First Bug section in readme
    
    * Inconsistent use of quotes. Prefered single quotes instead of double quotes
    
    * Updated Good first bug link in how_to_contribute doc.
    
    * Undo JSX attribute quote change
    
    * don't capitalize "beginner friendly issue"
    
    (cherry picked from commit 36c935c)
    abhaynikam authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    f6d37c9 View commit details
    Browse the repository at this point in the history
  8. [Documentation] Impreove the react-component section of doc (facebook…

    …#9349)
    
    * Impreove react-component of doc
    
    [facebook#9304](facebook#9304)
    
    * update description
    
    * add missing space
    
    (cherry picked from commit 359f5d2)
    NE-SmallTown authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    a46332d View commit details
    Browse the repository at this point in the history
  9. Unique headings for linking purposes (facebook#9259)

    Previously two headings were 'Javascript Expressions' - now 'Javascript
    Expressions as Props' and 'Javascript Expressions as Children'
    (cherry picked from commit 363f6cb)
    wktfraser authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    c4b08b7 View commit details
    Browse the repository at this point in the history
  10. Update jsx-in-depth.md (facebook#9178)

    * Update jsx-in-depth.md
    
    Line 9 isn't changed
    
    * Move selection down
    
    * Fix
    
    (cherry picked from commit ccb38a9)
    jayenashar authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    6aa3326 View commit details
    Browse the repository at this point in the history
  11. Sort out conferences by date (facebook#9172)

    (cherry picked from commit 37f9e35)
    designorant authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    86ce647 View commit details
    Browse the repository at this point in the history
  12. Lift state up - Updating the documentation to mention that onClick is…

    … a synthetic event handler (facebook#9427)
    
    * Lift state up - Updating the documentation to mention that onClick is a synthetic event handler
    
    * Review comments - Rephrase to handle synthetic events and event handler patterns
    
    * Tweak
    
    (cherry picked from commit 53a3939)
    bytetwin authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    2b20688 View commit details
    Browse the repository at this point in the history
  13. Fixed grammar (facebook#9432)

    * Update codebase-overview.md
    
    * Some more fixes
    
    (cherry picked from commit d724115)
    abhisheksoni27 authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    a159a32 View commit details
    Browse the repository at this point in the history
  14. [Tutorial] ES6, installation, and button closing tag (facebook#9441)

    * adds notes to tutorial on es6 and installation
    
    * fixes tutorial mention of opening button tag
    
    * More writing
    
    * Update
    brigand authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    00757fa View commit details
    Browse the repository at this point in the history
  15. Minor tweaks to tutorial

    gaearon authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    4d11d46 View commit details
    Browse the repository at this point in the history
  16. Fix duplicate sentence

    gaearon authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    d921593 View commit details
    Browse the repository at this point in the history
  17. Minor tutorial nits

    gaearon authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    7b12cc3 View commit details
    Browse the repository at this point in the history
  18. Add missing tutorial sidebar links

    gaearon authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    8cf1193 View commit details
    Browse the repository at this point in the history
  19. Tweak tutorial structure

    gaearon authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    2254660 View commit details
    Browse the repository at this point in the history
  20. FIX: Move CRA build info under it's tab page (facebook#9452)

    * FIX: Move CRA build info under it's tab page
    
    * Add some links
    Filip Hoško authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    e100fee View commit details
    Browse the repository at this point in the history
  21. Reorganize the "following along" instructions (facebook#9453)

    * Reorganize the "following along" instructions
    
    * Minor tweaks
    
    (cherry picked from commit 1ce562e)
    EnoahNetzach authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    05920ca View commit details
    Browse the repository at this point in the history
  22. [Docs] Add accessibility to tabs in installation documentation (faceb…

    …ook#9431)
    
    * Add accessibility to tabs in installation documentation
    
    * Change color and fix styling
    
    (cherry picked from commit 9526174)
    AlmeroSteyn authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    0f866ba View commit details
    Browse the repository at this point in the history
  23. [Docs: Installation] Fix tabs responsive layout - Resubmit (facebook#…

    …9458)
    
    * [Docs: Installation] Fix tabs responsive layout
    
    * Move tabs a pixel down
    
    * Remove left margin on first tab
    
    * Remove the long line
    
    * Fix mobile styles
    
    (cherry picked from commit a92128e)
    AlmeroSteyn authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    c388391 View commit details
    Browse the repository at this point in the history
  24. Add more details in jsx-in-depth.md (facebook#9006)

    * jsx-in-depth.md add ternary statement for javascript expressions section
    
    * jsx-in-depth.md add explanation to get falsey values for props
    
    * update jsx-in-depth.md
    
    * ensure links work locally, remove section about falsey prop values
    
    * Fix links
    davidhu2000 authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    6e6af0a View commit details
    Browse the repository at this point in the history
  25. Add link to 'Typechecking with PropTypes' under 'Advanced Guides' (fa…

    …cebook#9472)
    
    This should have been retained in our docs, since PropTypes are only
    moved and not deprecated.
    
    Partially handles facebook#9467, and I'll make a separate PR to
    https://github.com/reactjs/prop-types to add more docs to the README
    there.
    (cherry picked from commit 39ca8aa)
    flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    8cfc511 View commit details
    Browse the repository at this point in the history
  26. Updates how-to-contribute.md to use JSFiddle referenced in submit Git…

    … issue template (facebook#9503)
    
    (cherry picked from commit c8a64e2)
    jenjwong authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    775f377 View commit details
    Browse the repository at this point in the history
  27. Describe fixtures dir in the codebase overview (facebook#9516)

    * Describe fixtures dir in overview
    
    * Fix folder name
    
    (cherry picked from commit d12c41c)
    maciej-ka authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    a16288e View commit details
    Browse the repository at this point in the history
  28. adds indirect refs to docs (facebook#9528)

    * adds indirect refs to docs
    
    * Add more info
    
    * Explain clearer
    
    * Rephrase
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    * Update refs-and-the-dom.md
    
    (cherry picked from commit 14fa8a5)
    brigand authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    79c01c4 View commit details
    Browse the repository at this point in the history
  29. Add reference to the Hyperscript libraries (facebook#9517)

    * Add reference to the Hyperscript libraries
    
    I feel these should be mentioned as they provide terser syntax than using `R.createElement` directly, even with a shorthand.
    
    * Rephrase
    
    (cherry picked from commit a8c223a)
    dmitriz authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    8770ef8 View commit details
    Browse the repository at this point in the history
  30. [Docs] Fix confusing description for the <script>...</script> usage (f…

    …acebook#9502)
    
    * Fix confusing description for the <script>...</script> usage
    
    * Update jsx-in-depth.md
    
    * Update reference-react-dom-server.md
    
    * Update reference-react-dom.md
    
    * Update reference-react.md
    
    (cherry picked from commit 3d60d4c)
    chocolateboy authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    41bad43 View commit details
    Browse the repository at this point in the history
  31. [site] Load libraries from unpkg (facebook#9499)

    * [site] Load libraries from unpkg
    
    * Revert Gemfile changes
    
    (cherry picked from commit cf24d87)
    Daniel15 authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    50b7c55 View commit details
    Browse the repository at this point in the history
  32. fixed error formatting in live editor (facebook#9497)

    (cherry picked from commit 7ccfb07)
    tsriram authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    824cb31 View commit details
    Browse the repository at this point in the history
  33. React.createElement syntax (facebook#9459)

    * React.createElement syntax
    
    Added React.createElement syntax.
    I think this is required for this tutorial.
    
    * Reword
    
    (cherry picked from commit 9824d52)
    Radi123 authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    ebcf1c3 View commit details
    Browse the repository at this point in the history
  34. Add guide on integrating with non-react code (facebook#9316)

    * Add guide on integrating with non-react code
    
    * Capitalize guide title
    
    * Make links to other docs relative
    
    * Rephrase 'What it does do'
    
    * Remove experimental syntax
    
    * Capitalize Backbone
    
    * Remove empty lifecycle method in generic jQuery example
    
    * Use shouldComponentUpdate() not componentWillUpdate()
    
    * Prefer single quotes
    
    * Add cleanup to generic jQuery example
    
    * Capitalize React
    
    * Generalize the section on Backbone Views
    
    * Generalize the section on Backbone Models, a little
    
    * Add introduction
    
    * Adjust wording
    
    * Simplify ref callbacks
    
    * Fix typo in generic jQuery example
    
    * Fix typos in Backbone models in React components
    
    * Fix more typos in Backbone models in React components
    
    * Add generic section on integrating with other view libraries
    
    * Stress the benefits of an unchanging React element
    
    * Small changes to introduction
    
    * Add missing semicolon
    
    * Revise generic jQuery wrapper section
    
    Moved the section on using empty elements to prevent conflicts above the
    code example and added brief introduction to that example.
    
    * Add usage example for Chosen wrapper
    
    * Prevent Chosen wrapper from updating
    
    * Note that sharing the DOM with plugins is not recommended
    
    * Mention how React is used at Facebook
    
    * Mention React event system in template rendering section
    
    * Remove destructuring from function parameters
    
    * Do not name React components Component
    
    * Elaborate on unmountComponentAtNode()
    
    * Mention preference for unidirectional data flow
    
    * Rename backboneModelAdapter
    
    * Replace rest syntax
    
    * Respond to updated model in connectToBackboneModel
    
    * Rewrite connectToBackboneModel example
    
    * Rework connectToBackboneModel example
    
    * Misc changes
    
    * Misc changes
    
    * Change wording
    
    * Tweak some parts
    
    (cherry picked from commit 1816d06)
    wacii authored and flarnie committed Jun 7, 2017
    Configuration menu
    Copy the full SHA
    489d635 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    fefcb64 View commit details
    Browse the repository at this point in the history