Permalink
Commits on Jan 18, 2017
  1. Add "Handling Multiple Inputs" to Forms doc (#8552)

    * added "Handling Multiple Inputs"
    
    * renamed and added a codepen
    
    * simplified the example
    keyanzhang committed with gaearon Jan 18, 2017
Commits on Jan 17, 2017
  1. Tweaked captured error log slightly based on feedback (#8785)

    Tweaked captured error log slightly based on feedback. Normalized stack format/display for different browsers
    bvaughn committed on GitHub Jan 17, 2017
  2. Ignore fixtures in Flow and ESLint

    gaearon committed Jan 17, 2017
  3. Updating Thinking in React doc to replace refs with event handlers (#…

    …8815)
    
    * Updating Thinking in React doc to replace refs
    
    * Updating doc copy to reflect changes to example
    rohannair committed with gaearon Jan 17, 2017
  4. I -> we (#8817)

    faheel committed with gaearon Jan 17, 2017
  5. use an easier word (#8809)

    * use an easier word
    
    The word `mandatory` is relatively difficult for people with ESL (English as a second language), so I propose an alternative word.
    This would be much easier to understand.
    
    * use simpler word
    DQNEO committed with gaearon Jan 17, 2017
  6. Add Flow reminder to PR template (#8805)

    * Added flow to PR template
    
    * Added record-tests step to PR template and contribution docs
    
    * Updated order of PR checks
    jjcross committed with gaearon Jan 17, 2017
  7. add docs for building with Rollup (#8799)

    * add docs for building with Rollup
    
    * Tiny unrelated fix
    Rich-Harris committed with gaearon Jan 17, 2017
  8. Fix to work fiber debugger with npm start (#8811)

    * FiberDebugger uses packages built in local
    
    * Fix key warnings in FiberDebugger
    
    * Remove react packages from package.json and yarn.lock for using pacakges built in local
    
    * Remove fiber.js from `files` in package.json
    koba04 committed with gaearon Jan 17, 2017
Commits on Jan 16, 2017
  1. fix HOC doc (#8802)

    superlaziness committed with gaearon Jan 16, 2017
Commits on Jan 15, 2017
  1. Fix fiber/record-tests to work on windows (slash differences) (#8796)

    tomgasson committed with aweary Jan 15, 2017
Commits on Jan 14, 2017
  1. Add unit test to onlyChild to ensure onlyChild returns child element (#…

    …8667)
    
    Add unit test to onlyChild to ensure onlyChild returns child element
    churchie317 committed with bvaughn Jan 14, 2017
  2. Remove error ref to the 'render' function (#8781)

    What is the `render` function of a functional component?
    Volga committed with aweary Jan 14, 2017
  3. [Fiber] Fix rendering SVG into non-React SVG tree (#8638)

    * Add a test for rendering SVG into a non-React SVG tree
    
    It is failing in Fiber.
    
    * Add a test for rendering HTML into non-React foreignObject
    
    It happens to pass in Fiber.
    
    * Determine root namespace by container namespace, not just tag
    
    A tag alone is not enough to determine the tree namespace.
    
    * Skip the test that exhibits jsdom bug in non-createElement mode
    
    jsdom doesn't give HTML namespace to foreignObject.innerHTML children.
    This problem doesn't exist in the browsers.
    
    #8638 (comment)
    
    We will skip this test in non-createElement mode considering
    that non-createElement mounting is effectively dead code now anyway.
    gaearon committed on GitHub Jan 14, 2017
Commits on Jan 13, 2017
  1. Replaced an Update effect in complete phase with a Ref effect

    Also removed an unnecessary conditional check and improved a flow cast.
    
    Relates originally to PRs #8646 and #8685
    bvaughn committed on GitHub Jan 13, 2017
  2. Log all Fiber errors w/ component stack (#8756)

    A new module has been added (ReactFiberErrorLogger). This logs error information (call stack and component stack) to the console to make errors easier to debug. It also prompts users to use error boundaries if they are not already using them.
    
    In the future, perhaps this will be injectable, enabling users to provide their own handler for custom processing/logging. For the time being, this should help with issues like this / #2461.
    bvaughn committed on GitHub Jan 13, 2017
  3. Merge pull request #8645 from bvaughn/add-failing-scu-current-props-test

    Added memoization test for interrupted low-priority renders
    bvaughn committed on GitHub Jan 13, 2017
  4. Added memoization test for interrupted low-priority renders

    Test added to verify that a high-priority update can reuse the children from an aborted low-priority update if shouldComponentUpdate returns false.
    bvaughn committed Jan 13, 2017
  5. Update higher-order-components.md (#8780)

    yuyokk committed with gaearon Jan 13, 2017
  6. Merge pull request #8742 from bvaughn/stack-fiber-gcc-warning

    Warn about missing getChildContext method
    bvaughn committed on GitHub Jan 13, 2017
  7. Fix typo (#8770)

    piperchester committed with gaearon Jan 13, 2017
  8. Small ReactPropTypes refactor (#8771)

    diegomura committed with gaearon Jan 13, 2017
  9. Improve Fiber debugger (#8767)

    * Simplify the hooks
    * Capture completion at the right moment
    * Animate the scroll with the fiber on the stack
    * Better display priorities
    gaearon committed on GitHub Jan 13, 2017
  10. Removed redundant gCC test

    bvaughn committed Jan 10, 2017
  11. Stack and Fiber warn about missing getChildContext method

    Previous (probably unintentional) behavior of Stack was to allow components to define childContextTypes without also supplying a getChildContext property. This PR updates Fiber to (temporarily) mimic that behavior. It also adds warning messages to both Fiber and Stack (along with a test).
    
    For the time being, Fiber components with a missing getChildContext method will return the parent context as-is, after warning.
    bvaughn committed Jan 10, 2017
  12. Merge pull request #8655 from acdlite/fibermemoizepremptedwork

    [Fiber] Move memoization to begin phase
    acdlite committed on GitHub Jan 13, 2017
Commits on Jan 12, 2017
  1. Merge pull request #8757 from acdlite/fiberfeatureflag

    Add feature flag to disable Fiber-only features
    acdlite committed on GitHub Jan 12, 2017
  2. Run test script and fix regressions

    Fixes the case where there's an uncaught error and the root unmounts.
    We implement this by rendering the root as if its child is null. Null is
    not usually allowed at the top level, so we need to special case it.
    acdlite committed Jan 12, 2017
  3. Warn if undefined is passed to top-level render

    Moved the top-level check to ReactChildFiber like the other ones
    acdlite committed Jan 12, 2017
  4. [Fiber Debugger] Bring up to date (#8765)

    * Ignore orphaned fibers in the debugger
    
    * Remember last entered code via localStorage
    
    * Update Create React App
    
    * Minor fixes
    
    * Dogfood Fiber
    gaearon committed on GitHub Jan 12, 2017
  5. Confirm that a shallow bailout does not drop work in the child

    Includes a test that confirms that work that is bailed out before
    completing can be reused without dropping the entire subtree.
    acdlite committed Jan 8, 2017