jquery needed?
See original GitHub issueIssue description
- components:
reactstrap
- reactstrap version
#5.0.0
- import method
no idea
(if umd, are you using the “full” version (only for v5+)?) - react version
#16.3.2
- bootstrap version
#4.1.0
What is happening?
Sorry, I’ve just started with react + reactstrap. What should I do if we install bootstrap (npm i -S bootstrap) and get the message: bootstrap@4.1.0 requires a peer of jquery@1.9.1 - 3 but none is installed
Should we go ahead and install jquery? or it will conflict with reactstrap/react ?
Thanks in advance
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
You Might Not Need jQuery
jQuery and its cousins are great, and by all means use them if it makes it easier to develop your application. If you're...
Read more >Is jQuery dead in 2022? 155 developers respond ...
Is jQuery dead or is it just a bunch of haters? 155 software developers recently chimed in for a RealToughCandy survey to share...
Read more >6 Reasons We Still Use jQuery in 2021 | Atypic
jQuery has been around for 10+ years & still one of the popular JavaScript libraries in web development. We love jQuery here &...
Read more >Do we still need jQuery in 2020? - DEV Community
Animations: JQuery provides some easy to use out-of-the-box functions for animating DOM elements, without needing to get messy with CSS.
Read more >(Why) Is jQuery dead? - Medium
Whether or not jQuery is dead seems to be a hot topic for people in the coding world. So, I decided to explore...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can safely ignore that peer dependency, or you can install it and just not use or reference jquery anywhere. jquery is only a dependency for bootstrap when using bootstrap.js, but since you are using reactstrap, you don’t need bootstrap.js nor jquery. I believe I have read somewhere that in the future bootstrap may split up the styles from the functionality (javascript) so that you can import just the styles and use a third-party, library specific implementation (such as reactstrap)
depending on your packages and how npm structures your node_modules, you may need to explicitly add it.