Comparison with other projects

There are several projects to provide global state management. Let's compare with other projects.

Disclaimer: The comparison is obviously biased.

Notes about similarities and differences

Here describes simiarities and differences.

Pure React

As we saw in Quick Start, the way we use React Tracked is pretty much the same as pure React with context and hooks.

The difference is our effortless render optimization with useTracked.

React Redux

React Tracked provides useSelector hook from React Redux. So, the transition from React Redux hooks to React Tracked should be easy.

React Tracked is nothing to do with Redux, so we can't use their nice ecosystem.

Reactive React Redux

Reactive React Redux is a branch project of React Tracked. It is based on Redux, and provides useTrackedState hook which allows us the effortless render optimization.

If you want Redux ecosystem, this one is good to go instead of React Tracked.

MobX React

MobX utilizes Proxies, so the technique in the implementation is similar. The easiness of the usage is similar too.

However, MobX is based on mutable states. Whereas React Tracked is based on immutable states like Pure React and React Redux.

Vue.js

Vue is nothing to do with React, but it utilizes Proxies. The spirit of the effortless render optimization can be similar to the easiness of Vue.

Benchmarks

We have done some benchmark tests.

benchmark result

See this for details.