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

Do not detach child elements if parent element is about to be detached #2420

Merged

Commits on Jan 12, 2022

  1. Configuration menu
    Copy the full SHA
    c1ed876 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    863fa92 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Implement Lifetime.

    futursolo committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    22d91f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d940a7d View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2022

  1. Configuration menu
    Copy the full SHA
    572becb View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Configuration menu
    Copy the full SHA
    7dc8373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e8bcdd View commit details
    Browse the repository at this point in the history
  3. Rewrite hook body.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    2664141 View commit details
    Browse the repository at this point in the history
  4. Port some built-in hooks.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    aac78b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e5c373 View commit details
    Browse the repository at this point in the history
  6. Port tests.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    5f086e8 View commit details
    Browse the repository at this point in the history
  7. Fix tests.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    a87b2c7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    62396f0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    72518e2 View commit details
    Browse the repository at this point in the history
  10. Fix stderr for trybuild.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    38e06b1 View commit details
    Browse the repository at this point in the history
  11. Add 1 more test case.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    19af0b3 View commit details
    Browse the repository at this point in the history
  12. Adjust doc location.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    49454cd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    eb85f47 View commit details
    Browse the repository at this point in the history
  14. Fix Items & std::ops::Fn*.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    4f0260c View commit details
    Browse the repository at this point in the history
  15. Add use_memo.

    futursolo committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    344ae10 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ffca655 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7b8978b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    15585ff View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Configuration menu
    Copy the full SHA
    3dbcdac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f07c648 View commit details
    Browse the repository at this point in the history
  3. Enforce hook number.

    futursolo committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    7118b19 View commit details
    Browse the repository at this point in the history
  4. Deduplicate use_effect.

    futursolo committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    171e085 View commit details
    Browse the repository at this point in the history
  5. Optimise Implementation.

    futursolo committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    2f3856a View commit details
    Browse the repository at this point in the history
  6. Update documentation.

    futursolo committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    2b1d6f1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ac765cb View commit details
    Browse the repository at this point in the history
  8. Allow doc string.

    futursolo committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    9c300ed View commit details
    Browse the repository at this point in the history
  9. Workaround doc tests.

    futursolo committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    76da3f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    541a945 View commit details
    Browse the repository at this point in the history
  2. Fix website test.

    futursolo committed Jan 24, 2022
    Configuration menu
    Copy the full SHA
    80dc7e2 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Configuration menu
    Copy the full SHA
    347623b View commit details
    Browse the repository at this point in the history
  2. Destructor is no more.

    futursolo committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    e974dff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38ef990 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Merge branch 'master' into no-child-detaching-if-parent-detached

    # Conflicts:
    #	packages/yew-macro/src/hook/body.rs
    #	packages/yew-macro/tests/function_component_attr/hook_location-fail.stderr
    #	packages/yew-macro/tests/function_component_attr/hook_location-pass.rs
    #	packages/yew/src/functional/hooks/mod.rs
    #	packages/yew/src/functional/hooks/use_context.rs
    #	packages/yew/src/functional/hooks/use_effect.rs
    #	packages/yew/src/functional/hooks/use_memo.rs
    #	packages/yew/src/functional/hooks/use_reducer.rs
    #	packages/yew/src/functional/hooks/use_ref.rs
    #	packages/yew/src/functional/hooks/use_state.rs
    #	packages/yew/src/functional/mod.rs
    #	website/docs/migration-guides/yew/from-0_19_0-to-0_20_0.mdx
    futursolo committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    fb1d947 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Fix tests.

    futursolo committed Jan 29, 2022
    1 Configuration menu
    Copy the full SHA
    461cf38 View commit details
    Browse the repository at this point in the history