react-tagsinput
                                
                                
                                
                                    react-tagsinput copied to clipboard
                            
                            
                            
                        Feature/max tag display
This was mainly added to support pasting of lots of data (10,000+).
In order to achieve this, I had to first optimize the onlyUnique logic as it was very inefficient before. Now it works in O(n) complexity.
Second thing I did was to add maxTagDisplay prop which determines maximum number of tags to show on the UI. This is used in case someone pastes 100,000 items, the prop can be set to a same number like 1000, and will prevent the UI from crashing.
Tested with 500,000 items pasting with 1000 maxTagDisplay prop value.
Can this be taken a look at? @olahol