r/javascript • • Jun 12 '22

How to use bootstrap in React

https://www.devtip.co/how-to-use-bootstrap-in-react/
0 Upvotes

29 comments sorted by

View all comments

10

u/[deleted] Jun 12 '22

I'm not a fan of this method. I install bootstrap and import BS to a index.scss and import that file in my app.js

1

u/ijkortez Jun 12 '22

That's also a good way to do it, although this also requires them to understand post process css like sass and it might make it more complicated for this specific audience who are looking to use bootstrap in React

I personally go with css-in-js this days.

2

u/[deleted] Jun 12 '22

You monster! Is it themeable? I'd argue for BS for that reason and almost that reason alone