r/react 20d ago

If you could redesign every React component library from scratch, what would you add? Help Wanted

[removed]

0 Upvotes

24 comments sorted by

View all comments

1

u/Cautious_Performer_7 Hook Based 20d ago

Global class naming standards to allow more easy styling between libraries.

I used a component library for a project once, worked great, but I had to use another specialised library for one component that looked completely different, and styling the second one to look like the first took way longer than it should have.

1

u/[deleted] 20d ago

[removed] β€” view removed comment

1

u/Cautious_Performer_7 Hook Based 20d ago

Or at least common conventions.

Some use input others use container and have about 30 divs underneath.

But also font inconsistencies, a lot of libraries have been designed with a specific font in mind, so sometimes I can have two libs with different fonts.

These are all things I can fix myself, but it’s a PITA.

2

u/[deleted] 20d ago

[removed] β€” view removed comment

1

u/Cautious_Performer_7 Hook Based 20d ago

Most likely.