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 some render features + render strategy #106

Merged
merged 15 commits into from
Oct 18, 2020
Merged

Commits on Oct 15, 2020

  1. Configuration menu
    Copy the full SHA
    8553808 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    797e384 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Configuration menu
    Copy the full SHA
    766c45a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4200bcf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1208e01 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    59c00d4 View commit details
    Browse the repository at this point in the history
  5. bump dependencies

    RobinMalfait committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    8edf821 View commit details
    Browse the repository at this point in the history
  6. add ability to change the ref property using refName

    Example use case:
    
    ```tsx
    // Some components have this API with an `innerRef`. The suggested approach is to use
    // `React.forwardRef` so that you get the actual `ref` value. However if you already have this
    // `innerRef` API than we can use the `refName="innerRef"` to give the `ref` prop a good name. It
    // defaults to `ref` so that it still works everywhere else.
    
    function MyButton({ innerRef, ...props }) {
      return <button ref={innerRef} {...props} />
    }
    
    <Menu.Button as={MyButton} refName="innerRef" />
    ```
    RobinMalfait committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    68a2139 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f941bd View commit details
    Browse the repository at this point in the history
  8. add tests for the render abstraction (Render)

    + use the unique __ symbol as a default value in the Props type for the
      omitable props.
    RobinMalfait committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    b0cb7a0 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2020

  1. Configuration menu
    Copy the full SHA
    f65721a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da85aba View commit details
    Browse the repository at this point in the history
  3. bump dependencies

    RobinMalfait committed Oct 18, 2020
    Configuration menu
    Copy the full SHA
    726fe21 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f8b0d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2ff01b9 View commit details
    Browse the repository at this point in the history