nikgraf / belle

Configurable React Components with great UX
http://nikgraf.github.io/belle/
MIT License
2.51k stars 104 forks source link

Update uniqueId for ensure the uniqueness #361

Closed NaveenDA closed 4 years ago

NaveenDA commented 4 years ago

The older method relies on Math.Random method which doesn't able to ensure the uniqueness of the generated ID. The requested method loosely based on RFC4122 , however, this doesn't guarantee to give a unique ID always, when compared to the previous method it gives better results.

nikgraf commented 4 years ago

@NaveenDA the library is kind of outdated and doesn't work with newer React versions. Are you still using it?