-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Replace omitBsProps with splitBsProps #2052
Conversation
This is the last bit of follow-up to #1994. I guess I also dropped |
When will we merge this PR and cut a new release? I really need it since I want to use |
return [getBsProps(props), elementProps]; | ||
} | ||
|
||
export function splitBsPropsAndOmit(props, omittedPropNames) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why two utils here? seems like you could just roll this into splitBsProps above yeah?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a slight optimization... just two statically separate functions rather than a branch in the same function. Figure it's worth it since we call this literally everywhere.
Updated. |
Good to go now? |
Who is the hero who will save everybody? |
so tense.... |
Whoo, thank you! 🎊🎉 |
Hi guys, first of all thank you all. How can I use this update? I did install "react-bootstrap/react-bootstrap#next" but now I can't import anything from 'react-bootstrap'. :( |
Thanks! :D |
No description provided.