merisbahti / klyva

A state management library that follows the React component model
MIT License
55 stars 4 forks source link

Use Object.is for comparison, instead of `fastDeepEqual` #16

Closed merisbahti closed 3 years ago

merisbahti commented 3 years ago

And let the user decide what comparison function they want to use, by allowing a parameter in useSelector

What are the performance implications?

Megaform seems to have increased from 2-3ms per update to 3-4 or something. Is that a constant or multiplied?

merisbahti commented 3 years ago

Merged in other PR