A very common reason is a wrong site baseUrl configuration.\n

Current configured baseUrl = / (default value)\n

We suggest trying baseUrl = \n\n';var e=document.getElementById("docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,r="/"===s.substr(-1)?s:s+"/";e.innerHTML=r}}window.__DOCUSAURUS_INSERT_BASEURL_BANNER=!0,document.addEventListener("DOMContentLoaded",maybeInsertBanner)

Skip to main content
Redux made easy

Rematch

Rematch is Redux best practices without the boilerplate

Example of Rematch Code

Unreal features

Using Redux always has been complicated, but now with Rematch you have more features than Redux offers with less than 2 kilobytes.

No configuration

No configuration

No more thunks, switch statements, action types, action creators. All is handled out of the box with just one file.
Plugins API

Plugins API

Rematch exposes a simple API interface to create custom plugins for extend Rematch functionality. Official plugins also out-of-the-box.
Built-in side-effects

Built-in side-effects

Native async/await to call your external API's. You won't need redux-thunks anymore.
TypeScript support

TypeScript support

TypeScript support out of the box. You will have autocomplete of all your methods, state and reducers. Written 100% in TypeScript.
Framework agnostic

Framework agnostic

Use Rematch in the browser, in React, in Angular, in Vue... anywhere. We ship ESM, UMD and CJS builds.
The smallest

The smallest

Less than 2kb and supports tree-shaking.
Rematch Core Size Rematch Core tree-shaking enabled

Open Sourcerers 🧙🏻‍♂️

Rematch Contributors

+2000

Projects using Rematch

+7000 ⭐️

On Github

+20.000

Weekly downloads

A++

Maintainability

Redux vs Rematch

FeaturesReduxRematch
Simple setup
No boilerplate
Maintainability
Configurable
Redux Devtools
Async/await effects
Official plugins
Mobile ready

Trusted by the best frontend teams

Adobe Logo
Alibaba Logo
Allfunds Logo
Facebook Logo
Gatsby Logo
Kuaishou Logo
Sueddeutsche Logo

Never has been that easy

  • Automatic intellisense with TypeScript steroids, autocomplete everything, avoid regressions.
  • In just one file you can handle all your business logic with native Redux performance.
  • Rematch it's less than 1,7kb introduces best-practices to avoid Redux boilerplate.

Get Started ->
Real code of Rematch with TypeScript