dai-shi / use-context-selector

React useContextSelector hook in userland
https://www.npmjs.com/package/use-context-selector
MIT License
2.68k stars 61 forks source link

Difference between this package and `@fluentui/react-context-selector` #107

Open ScottAwesome opened 1 year ago

ScottAwesome commented 1 year ago

Awesome library!

I recently became aware of another library maintained by Microsoft that purportedly has the same behavior, @fluentui/react-context-selector

I am inquiring to understand the difference between their implementation and this one, or if they're identical to the consumer.

Thanks! This library is pretty awesome

dai-shi commented 1 year ago

They got inspired by us. It was mostly copy-and-paste code of one of our previous versions.