Hacker News new | ask | show | jobs
by acemarke 2837 days ago
I'm _specifically_ hoping to use it in React-Redux v6.x, and wrote up a very extended description a couple days ago of why and how I hope to use it:

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.