4 ms·
React isn't a library. You can't drop a bit of it into your project. It distorts how you build the webapp. jQueryUI is a library. You can add it in and your c
by tarkin2 6y ago
React isn't a library.
You can't drop a bit of it into your project. It distorts how you build the webapp.
jQueryUI is a library. You can add it in and your code is still vaguely the same.
React is a framework pretending to be a library so people can't say "Oh, what? another framework?"
As soon as you use React, you're in the react universe, not the normal webdev universe.
With a normal webapp, I can just import an external js library. With react, I must look for projects that translate those library into the react universe (react-bootstrap etc).
- skrtskrt 6y agoYou can just add the bootstrap CDN in the head of your index.html and use bootstrap without installing ‘react-bootstrap’ (I don’t disagree with anything else you said)
- gvjddbnvdrbv 6y agoNot if you want to use e.g. Bootstrap models without a lot of work.
- tarkin2 6y agoIf you want to use the javascript components, rather than just the styles, you need the react library version. There are various other UI libraries as well that require you use the react conversion library, which sadly lag behind the vanilla js versions. Fair enough if you love react then this is acceptable. But it pushes the definition of a library, when just using react means that other libraries need to conform to react to properly work with it. React does some things nicely. But it's not "It's just a library. Drop it into your existing project. And you're done."