by haukur · 8y ago · 0 comments
https://github.com/reduxjs/react-redux/issues/1018
I actually referenced your blog post as a good overview of how to use the bitmask API, so thanks for writing it!
I also filed a React RFC to make the API a bit more flexible by allowing us to pass a `calculateChangedBits` function directly to a `Context.Provider` instance:
https://github.com/reactjs/rfcs/pull/60
Sebastian Markbage replied in that RFC thread, and tbh the discussion seemed a bit odd. It seemed like he was discouraging me from trying to use the bitmask API, or trying to figure out why I might actually want to use it, when it seems like the entire reason it exists is exactly for something like React-Redux to leverage it for performance optimizations.