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

feat(bivariate-color-manager): 10929 - implemented sublist #74

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

propakov
Copy link
Contributor

@propakov propakov commented Jul 22, 2022

@propakov propakov self-assigned this Jul 22, 2022
@Akiyamka
Copy link
Contributor

@propakov looks like link to task not correct

<CSSTransition {...props} nodeRef={nodeRef}>
<>
{Children.map(children, (child) =>
isValidElement(child) ? cloneElement(child, { ref: nodeRef }) : child,
Copy link
Contributor

@Akiyamka Akiyamka Jul 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be careful with cloneElement, is expensive operation, but here it clone only one children - tr, so it should be okay

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know a better way of passing some prop to children?
maybe render function pattern would work better?

<CSSTransitionWrapper
                  in={rowSelected}
                  timeout={300}
                  unmountOnExit
                  appear
                  classNames={fadeClassNames}
                >
                (ref) => 
                  <tr ref={ref} className={s.sublist}>

@propakov
Copy link
Contributor Author

@propakov looks like link to task not correct

sorry, last digit has lost
I've updated the link!

@propakov propakov closed this Jul 26, 2022
@propakov propakov reopened this Jul 26, 2022
@propakov propakov removed the request for review from andrei-kucherov July 26, 2022 06:43
@propakov propakov merged commit 02b58bc into main Jul 26, 2022
@propakov propakov deleted the 10929-sublist-new branch July 26, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants