Within this patch set, we refactor our use of selectors and redux to use React context and hooks instead.
The hooks are written in TypeScript, giving us better compile-time assertions.
We should not loose any of the performance benefits of selectors if we use useMemo in our hooks. No sure if we ever had any real gains from the selectors though because we never benchmarked this stuff.
I would like to slowly move away from using redux completely for the whole project. Getting rid of the selectors is the first step towards that.
I also attempted to fix some bugs with this re-write.
Within this patch set, we refactor our use of selectors and redux to use React context and hooks instead.
useMemo
in our hooks. No sure if we ever had any real gains from the selectors though because we never benchmarked this stuff.