Comparsion to MobX #676
-
I'm a MobX user and I came across this repository. It looks like a reimplementation of MobX, but with a different API. What was the motivation behind starting this project? When and why should MobX users consider switching to Preact Signals instead? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The main motivation was integration into the rendering libraries (Preact & React) which no other reactivity implementation offered. If you're using MobX w/out Preact or React, there's probably little reason to make a switch (it's very unlikely the difference in implementation will lead to noticeable performance changes), but if you are, our "Introducing Signals" blog post goes over the benefits this implementation can provide. |
Beta Was this translation helpful? Give feedback.
The main motivation was integration into the rendering libraries (Preact & React) which no other reactivity implementation offered.
If you're using MobX w/out Preact or React, there's probably little reason to make a switch (it's very unlikely the difference in implementation will lead to noticeable performance changes), but if you are, our "Introducing Signals" blog post goes over the benefits this implementation can provide.