-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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(Table): add borderless
option
#956
feat(Table): add borderless
option
#956
Conversation
This option appeared in bootstrap@v4.1.0
You was most faster than me. I was planning to send this PR. Thanks @frontsideair 😄 |
Thanks for the PR. As for the deps, this project doesn't depend on bootstrap for anything outside of the docs, which is why it's a devDep. We'll need to bump the devDep to ensue the docs are built with that version to showcase this new ability. |
That's why I suggested peer dependency, as any user of this project will need to install Bootstrap and this needs to be within certain bounds otherwise the package manager should show a warning. |
They don't actually need bootstrap to use this. There are no references to bootstrap in the code (no imports). That is not what peerDeps are for, it mostly when you depend on something but want to ensure that the version used is used for all of the things which also depend on it; to avoid loading multiple versions. This is why react is a peerDep in libraries and why prop-types is not. |
Thanks for the explanation, you are correct. I just wanted to make sure the users would not be confused if they installed Should I bump do the bump in this PR, or another one, or do you have another strategy for the bump? |
Yes, please bump with this since this adds the example to the docs and without the bump the example in this PR doesn't work as intended. |
Done. Adding docs per component sounds good enough to me. |
This still not working, did you guys fix it ? |
You have to be using Reactstrap 6.0.0 or greater and Bootstrap 4.1.0 or greater. Can you confirm that? |
|
6.0.0 seems to be released two days ago, that's the version this PR was shipped. |
Oh Great, I'll test it right now 👍 Thank you |
@frontsideair it works perfectly 🥇 |
Sorry about the major version bump, I had introduced a breaking change which caused that. |
This option appeared in bootstrap@v4.1.0
Looks like we need to bump bootstrap devDependency to
4.1.0
. Is it OK if I do this in the PR? Andbootstrap
doesn't seem to be a peerDependency. Should I open an issue?