State of state management in react.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cupcakearmy cc54d84845 Update 'README.md' 2 years ago
mobx Preact integration 2 years ago
presentation add bulk to improve performance 2 years ago
redux Preact integration 2 years ago
.gitignore Preact integration 2 years ago
LICENSE Initial commit 2 years ago
README.md Update 'README.md' 2 years ago
package.json run all script 2 years ago

README.md

state@next

State of state management in react.

This is a quick look at MobX vs Redux, both using only hooks.

Quickstart 🚀

git clone https://git.nicco.io/cupcakearmy/state-next.git
cd state-next

npm run dev

# http://localhost:3000 for redux
# http://localhost:4000 for mobx

Preact

While moving to preact, without changing any line of code we managed to go from:

  • MobX: 199 KiB -> 98.3 KiB
  • Redux: 158 KiB -> 57.7 KiB