Can someone give an example on how to mimic MobX, just using Vanilla JavaScript?
QUESTION UPDATED!
I have begun to learn the flux architecture, reading about which, I have found Mobx, whose idea is good.
But before starting with the library, I want to see a simple example in Vanilla Javascript of MobX things like "observable", "computed" or "action", without using MobX.
Thanks.