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

Add Fragment as a named export to React #10783

Merged
merged 46 commits into from
Oct 31, 2017

Commits on Oct 17, 2017

  1. Add Fragment as a named export to React

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    284efed View commit details
    Browse the repository at this point in the history
  2. Remove extra tests for Fragment

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    c26914b View commit details
    Browse the repository at this point in the history
  3. Change React.Fragment export to be a string '#fragment'

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    adb7c61 View commit details
    Browse the repository at this point in the history
  4. Fix fragment special case to work with 1 child

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    3804288 View commit details
    Browse the repository at this point in the history
  5. Add single child test for fragment export

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    f201879 View commit details
    Browse the repository at this point in the history
  6. Move fragment definition to ReactEntry.js and render components for k…

    …ey warning tests
    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    3a21716 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    480e8d1 View commit details
    Browse the repository at this point in the history
  8. Update reconciliation to special case fragments

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    29e6472 View commit details
    Browse the repository at this point in the history
  9. Use same semantics as implicit childsets for ReactFragment

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    e62c4b4 View commit details
    Browse the repository at this point in the history
  10. Add more fragment state preservation tests

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    e0c0a1c View commit details
    Browse the repository at this point in the history
  11. Export symbol instead of string for fragments

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    c74af40 View commit details
    Browse the repository at this point in the history
  12. Fix rebase breakages

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    1f9ef58 View commit details
    Browse the repository at this point in the history
  13. Re-apply prettier at 1.2.2

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    14d3a1b View commit details
    Browse the repository at this point in the history
  14. Merge branches in updateElement

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    6df523d View commit details
    Browse the repository at this point in the history
  15. Remove unnecessary check

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    b4f17f6 View commit details
    Browse the repository at this point in the history
  16. Re-use createFiberFromFragment for fragment case

    Clement Hoang committed Oct 17, 2017
    Configuration menu
    Copy the full SHA
    6b374f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2017

  1. Simplyify branches by adding type field to fragment fiber

    Clement Hoang committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    7ceb631 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53969d3 View commit details
    Browse the repository at this point in the history
  3. Add more tests for fragments

    Clement Hoang committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    8ecb60c View commit details
    Browse the repository at this point in the history
  4. Address Dan's feedback

    Clement Hoang committed Oct 18, 2017
    Configuration menu
    Copy the full SHA
    ab1a58e View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2017

  1. Move REACT_FRAGMENT_TYPE into __DEV__ block for DCE

    Clement Hoang committed Oct 19, 2017
    Configuration menu
    Copy the full SHA
    b7fff43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6aca28 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2017

  1. Remove unnecessary branching and isArray checks

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    372a62a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8405465 View commit details
    Browse the repository at this point in the history
  3. Fix updateSlot bug and add more tests

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    cee245c View commit details
    Browse the repository at this point in the history
  4. Make fragment tests more robust by using ops pattern

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    b3bac19 View commit details
    Browse the repository at this point in the history
  5. Update jsx element validator to allow numbers and symbols

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    198ad8c View commit details
    Browse the repository at this point in the history
  6. Remove type field from fragment fiber

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    1a47984 View commit details
    Browse the repository at this point in the history
  7. Fork reconcileChildFibers instead of recursing

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    5edee97 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'master' into react-fragment-export

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    1539f19 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'master' into react-fragment-export

    Clement Hoang committed Oct 20, 2017
    Configuration menu
    Copy the full SHA
    367c7e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2017

  1. Use ternary if condition

    Clement Hoang committed Oct 25, 2017
    Configuration menu
    Copy the full SHA
    59f6828 View commit details
    Browse the repository at this point in the history
  2. Revamp fragment test suite:

    - Add more coverage to fragment tests
    - Use better names
    - Remove useless Fragment component inside tests
    - Remove useless tests so that tests are more concise
    Clement Hoang committed Oct 25, 2017
    Configuration menu
    Copy the full SHA
    d29bd31 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2017

  1. Check output of renderer in fragment tests to ensure no silly busines…

    …s despite states being preserved
    Clement Hoang committed Oct 26, 2017
    Configuration menu
    Copy the full SHA
    8c070e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2017

  1. Configuration menu
    Copy the full SHA
    545d0b9 View commit details
    Browse the repository at this point in the history
  2. Add reverse render direction for fragment tests

    Clement Hoang committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    c8a0752 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into react-fragment-export

    Clement Hoang committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    fe2dd4d View commit details
    Browse the repository at this point in the history
  4. Remove unneeded fragment branch in updateElement

    Clement Hoang committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    48bcaa7 View commit details
    Browse the repository at this point in the history
  5. Add more test cases for ReactFragment

    Clement Hoang committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    b3864af View commit details
    Browse the repository at this point in the history
  6. Handle childless fragment in reconciler

    Clement Hoang committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    17ac4a2 View commit details
    Browse the repository at this point in the history
  7. Support fragment flattening in SSR

    Clement Hoang committed Oct 27, 2017
    Configuration menu
    Copy the full SHA
    27312d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2017

  1. Clean up ReactPartialRenderer

    Clement Hoang committed Oct 28, 2017
    Configuration menu
    Copy the full SHA
    87ab859 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9443d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2017

  1. Configuration menu
    Copy the full SHA
    97d1bdd View commit details
    Browse the repository at this point in the history
  2. Add test for positional reconciliation in fragments

    Clement Hoang committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    71252b9 View commit details
    Browse the repository at this point in the history
  3. Add warning for refs in fragments with stack trace

    Clement Hoang committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    8cbc93d View commit details
    Browse the repository at this point in the history