Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddhantmadhur/react-rating

When I was using MaterialUI's Rating component it was, alone, adding 25kb to my JavaScript bundle size. This component is meant to replace it, with eventual, full feature parity with no wasteful JavaScript bundles.
https://github.com/siddhantmadhur/react-rating

component npm rating rating-stars react

Last synced: 4 days ago
JSON representation

When I was using MaterialUI's Rating component it was, alone, adding 25kb to my JavaScript bundle size. This component is meant to replace it, with eventual, full feature parity with no wasteful JavaScript bundles.

Awesome Lists containing this project

README

        

# React Rating - Fast MUI Replacement
When I was using MaterialUI's Rating component it was, alone, adding 25kb to my JavaScript bundle size. This Component is meant to replace it, with eventual, feature parity.

#### Feature Parity

The goal for this package is to support all features.

| Feature | MaterialUI's Rating | React Rating |
| :------------------------------: | :-------------------- | :------------- |
| Unpacked Size | 10.2 MB | 5.98 kB |
| Change state | Yes | Yes |
| Allow any number of stars/icon | Yes | Yes |
| Allow half-stars | Yes | Yes |
| Read Only | Yes | Yes |
| Allow any number of divisions | Yes | No |
| Custom CSS Support | Yes | No |
| Custom SVG Support | Yes | No |