Converting a Redux app to Recollect (how and why)

David Gilbertson
The Startup
Published in
18 min readApr 8, 2020

--

Recollect is a state management library for React.

It serves the same purpose as Redux, with some key differences:

  • It doesn’t work in IE, because it uses the Proxy object.
  • Because it uses the Proxy object, you don’t need to worry about immutability any more.

Recollect’s party trick is a store that behaves like a normal JavaScript object, but is internally immutable. So, if you want to toggle the complete status of a todo, you no longer need code like this:

--

--