loading...

Discussion on: React, TypeScript & Mobx

Collapse
shevchenkonik profile image
Nik Shevchenko Author

Thanks for your feedback!

I know this way, but I don't really understand its advantages over actions.

What is the advantage of that?

Collapse
theonlybeardedbeast profile image
TheOnlyBeardedBeast

Shifting action logic into your components/modules. A lot of times it can be handy, but yeah I do too prefer the way you described mobx usage, but I always crete getters and setters.