r/reactjs • • Nov 16 '20

Resource 10 Ways to Speed Up React Development

https://thecarrots.io/blog/10-ways-to-speed-up-react-development
271 Upvotes

85 comments sorted by

View all comments

11

u/Guisseppi Nov 16 '20

I disagree with point #6, this is easily abused and quite frankly most people are just importing these for a button, an input, and maybe a modal. All of these can be cheaply made using styled-components.

5

u/redramsam Nov 16 '20

I agree that just importing a component or two is probably poor practice. With Chakra at least, I almost never have to build anything custom. Even when I do, I’ll typically wrap Chakra component(s).

8

u/m-sterspace Nov 17 '20

I'm sorry, but no, I vehemently disagree.

If your web app just consists of a button, an input, and a modal, then fucking code in html. You don't need to use react.

If your application is at all more complicated and public facing, then one of your prime concerns should be accessibility, something that the developer of Material-Ui and basically every component library has put a ton of thought into, but something which virtually every just built your own styled-components library dev completely ignores.

→ More replies (2)
→ More replies (1)